Sha256: a63c9090534449fbda90cdfbe5495e0e135a984f9054df8cd52bf573e71e65fb
Contents?: true
Size: 298 Bytes
Versions: 7
Compression:
Stored size: 298 Bytes
Contents
class Container attr_accessor :files, :directory def initialize(args) args.keys.each { |name| instance_variable_set "@" + name.to_s, args[name] } end def files return @files if @called @files.map! {|file| "#{@directory}/#{file}"} @called = true @files end end
Version data entries
7 entries across 7 versions & 1 rubygems