Sha256: 60c70c6f07209caac69ed3b0b3f2e6ce7d805dbba289290a453953f868340a2a
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
class RequiredFiles::Make::MetaClass def initialize( file_type , required_files , top_dir , filename = "required_files" ) @file_type = file_type @required_files = required_files @top_dir = top_dir @filename = filename end private def filename_including_dir "#{ @top_dir }/#{ @filename }.#{ @file_type }" end def actually_required_files @required_files.map { | str | str.gsub( "#{ @top_dir }/" , "" ) + ".rb" } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
required_files-0.2.6 | lib/required_files/make/meta_class.rb |