Class: Kettle::Family::Member
- Inherits:
-
Struct
- Object
- Struct
- Kettle::Family::Member
- Defined in:
- lib/kettle/family/member.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
Returns the value of attribute dependencies.
-
#gemspec_path ⇒ Object
Returns the value of attribute gemspec_path.
-
#name ⇒ Object
Returns the value of attribute name.
-
#root ⇒ Object
Returns the value of attribute root.
-
#version ⇒ Object
Returns the value of attribute version.
-
#version_file ⇒ Object
Returns the value of attribute version_file.
Instance Method Summary collapse
Instance Attribute Details
#dependencies ⇒ Object
Returns the value of attribute dependencies
5 6 7 |
# File 'lib/kettle/family/member.rb', line 5 def dependencies @dependencies end |
#gemspec_path ⇒ Object
Returns the value of attribute gemspec_path
5 6 7 |
# File 'lib/kettle/family/member.rb', line 5 def gemspec_path @gemspec_path end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/kettle/family/member.rb', line 5 def name @name end |
#root ⇒ Object
Returns the value of attribute root
5 6 7 |
# File 'lib/kettle/family/member.rb', line 5 def root @root end |
#version ⇒ Object
Returns the value of attribute version
5 6 7 |
# File 'lib/kettle/family/member.rb', line 5 def version @version end |
#version_file ⇒ Object
Returns the value of attribute version_file
5 6 7 |
# File 'lib/kettle/family/member.rb', line 5 def version_file @version_file end |
Instance Method Details
#to_h ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/kettle/family/member.rb', line 13 def to_h { "name" => name, "root" => root, "gemspec_path" => gemspec_path, "version_file" => version_file, "version" => version, "dependencies" => dependencies } end |