Class: NestedFile::FileGroup
- Inherits:
-
Object
- Object
- NestedFile::FileGroup
- Includes:
- FromHash
- Defined in:
- lib/nested_file/file_group.rb
Instance Attribute Summary collapse
-
#convert_path ⇒ Object
Returns the value of attribute convert_path.
-
#file_glob ⇒ Object
Returns the value of attribute file_glob.
-
#full_glob ⇒ Object
Returns the value of attribute full_glob.
-
#parent_file ⇒ Object
Returns the value of attribute parent_file.
Instance Method Summary collapse
Instance Attribute Details
#convert_path ⇒ Object
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_glob ⇒ Object
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_glob ⇒ Object
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_file ⇒ Object
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_s ⇒ Object
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 |