class Cfoo::Module

Attributes

dir[R]

Public Class Methods

new(dir, file_system) click to toggle source
# File lib/cfoo/module.rb, line 5
def initialize(dir, file_system)
    @dir, @file_system = dir, file_system
end

Public Instance Methods

==(other) click to toggle source
# File lib/cfoo/module.rb, line 13
def ==(other)
    eql? other
end
eql?(other) click to toggle source
# File lib/cfoo/module.rb, line 17
def eql?(other)
    dir = other.dir
end
files() click to toggle source
# File lib/cfoo/module.rb, line 9
def files
    @file_system.glob_relative("#{dir}/*.yml")
end