Class: Cpp::SystemLibrary
- Inherits:
-
Bake::Target
- Object
- Bake::Target
- Cpp::SystemLibrary
- Defined in:
- lib/bake/cpp_scheme.rb
Constant Summary collapse
- ACCESSORS =
:syslib
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Attributes inherited from Bake::Target
#children, #deps, #name, #parent
Instance Method Summary collapse
-
#initialize(parent, name, file) ⇒ SystemLibrary
constructor
A new instance of SystemLibrary.
Methods inherited from Bake::Target
Methods included from Bake::Configuration
#[], #default, #get, #has_prop?, #is?, #opt, #req
Constructor Details
#initialize(parent, name, file) ⇒ SystemLibrary
Returns a new instance of SystemLibrary.
344 345 346 347 348 349 |
# File 'lib/bake/cpp_scheme.rb', line 344 def initialize(parent, name, file) super(parent) @name = name @file = file opt(:built? => true) end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
342 343 344 |
# File 'lib/bake/cpp_scheme.rb', line 342 def file @file end |