Class: NestedFile::FileGroup

Inherits:
Object
  • Object
show all
Includes:
FromHash
Defined in:
lib/nested_file/file_group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#convert_pathObject

Returns the value of attribute convert_path.



4
5
6
# File 'lib/nested_file/file_group.rb', line 4

def convert_path
  @convert_path
end

#file_globObject

Returns the value of attribute file_glob.



4
5
6
# File 'lib/nested_file/file_group.rb', line 4

def file_glob
  @file_glob
end

#full_globObject

Returns the value of attribute full_glob.



4
5
6
# File 'lib/nested_file/file_group.rb', line 4

def full_glob
  @full_glob
end

#parent_fileObject

Returns the value of attribute parent_file.



4
5
6
# File 'lib/nested_file/file_group.rb', line 4

def parent_file
  @parent_file
end

Instance Method Details

#to_sObject



17
18
19
20
# File 'lib/nested_file/file_group.rb', line 17

def to_s
  res = sections.join("\n")
  "<files #{file_glob}>\n#{res}\n</files>"
end