Class: CMakeBuildArgs
- Inherits:
-
Object
- Object
- CMakeBuildArgs
- Defined in:
- lib/cmake.rb
Overview
simple data class for passing args into cmake_build
Instance Attribute Summary collapse
-
#build_type ⇒ Object
readonly
Returns the value of attribute build_type.
-
#is_release ⇒ Object
readonly
Returns the value of attribute is_release.
-
#this_device_id ⇒ Object
readonly
Returns the value of attribute this_device_id.
-
#this_running_extra ⇒ Object
readonly
Returns the value of attribute this_running_extra.
Instance Method Summary collapse
-
#initialize(build_type, device_id, is_release = false) ⇒ CMakeBuildArgs
constructor
A new instance of CMakeBuildArgs.
Constructor Details
#initialize(build_type, device_id, is_release = false) ⇒ CMakeBuildArgs
Returns a new instance of CMakeBuildArgs
9 10 11 12 13 |
# File 'lib/cmake.rb', line 9 def initialize(build_type, device_id, is_release = false) @build_type = build_type @this_device_id = device_id @is_release = is_release end |
Instance Attribute Details
#build_type ⇒ Object (readonly)
Returns the value of attribute build_type
7 8 9 |
# File 'lib/cmake.rb', line 7 def build_type @build_type end |
#is_release ⇒ Object (readonly)
Returns the value of attribute is_release
7 8 9 |
# File 'lib/cmake.rb', line 7 def is_release @is_release end |
#this_device_id ⇒ Object (readonly)
Returns the value of attribute this_device_id
7 8 9 |
# File 'lib/cmake.rb', line 7 def this_device_id @this_device_id end |
#this_running_extra ⇒ Object (readonly)
Returns the value of attribute this_running_extra
7 8 9 |
# File 'lib/cmake.rb', line 7 def this_running_extra @this_running_extra end |