Class: HMap::ProductPath
- Inherits:
-
Object
- Object
- HMap::ProductPath
- Defined in:
- lib/hmap/xc/product_helper.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#build_setting ⇒ Object
readonly
Returns the value of attribute build_setting.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #build_root ⇒ Object
-
#initialize(path) ⇒ ProductPath
constructor
A new instance of ProductPath.
- #obj_root ⇒ Object
Constructor Details
#initialize(path) ⇒ ProductPath
Returns a new instance of ProductPath.
7 8 9 10 |
# File 'lib/hmap/xc/product_helper.rb', line 7 def initialize(path) @path = path raise ArgumentError, "#{path}: can not get build directory" if @build_setting.nil? end |
Instance Attribute Details
#build_setting ⇒ Object (readonly)
Returns the value of attribute build_setting.
5 6 7 |
# File 'lib/hmap/xc/product_helper.rb', line 5 def build_setting @build_setting end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/hmap/xc/product_helper.rb', line 5 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/hmap/xc/product_helper.rb', line 5 def path @path end |