Class: CMakeBuildArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/cmake.rb

Overview

simple data class for passing args into cmake_build

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeObject (readonly)

Returns the value of attribute build_type



7
8
9
# File 'lib/cmake.rb', line 7

def build_type
  @build_type
end

#is_releaseObject (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_idObject (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_extraObject (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