Class: Ritsu::SrcFiles::ExecutableCmakeLists
- Inherits:
-
TargetCmakeLists
- Object
- Ritsu::SrcFile
- TemplatedSrcFile
- TargetCmakeLists
- Ritsu::SrcFiles::ExecutableCmakeLists
- Defined in:
- lib/ritsu/src_files/executable_cmake_lists.rb
Defined Under Namespace
Classes: ExecutableTemplate, Template
Instance Attribute Summary
Attributes inherited from TemplatedSrcFile
#block_end_prefix, #block_start_prefix, #template
Attributes inherited from Ritsu::SrcFile
Instance Method Summary collapse
-
#initialize(target) ⇒ ExecutableCmakeLists
constructor
A new instance of ExecutableCmakeLists.
Methods inherited from TargetCmakeLists
Methods inherited from TemplatedSrcFile
Methods inherited from Ritsu::SrcFile
#abs_path, #base_name, #create, find_by_src_path, #include_in_source_files?, is_valid_src_path?, #project, #remove, #update, #update_content, validate_instance
Methods included from Utility
Methods included from Utility::InstanceSet
included, #initialize_instance
Constructor Details
#initialize(target) ⇒ ExecutableCmakeLists
Returns a new instance of ExecutableCmakeLists.
32 33 34 35 36 37 |
# File 'lib/ritsu/src_files/executable_cmake_lists.rb', line 32 def initialize(target) super(target) self.template = Template.new(target, :block_start_prefix => '##<<', :block_end_prefix => '##>>') end |