Class: Ritsu::SrcFiles::ProjectConfigHeaderTemplateFile
- Inherits:
-
TemplatedSrcFile
- Object
- Ritsu::SrcFile
- TemplatedSrcFile
- Ritsu::SrcFiles::ProjectConfigHeaderTemplateFile
- Defined in:
- lib/ritsu/src_files/project_config_header_template_file.rb
Defined Under Namespace
Classes: Template
Instance Attribute Summary
Attributes inherited from TemplatedSrcFile
#block_end_prefix, #block_start_prefix, #template
Attributes inherited from Ritsu::SrcFile
Instance Method Summary collapse
- #include_in_source_files? ⇒ Boolean
-
#initialize(project) ⇒ ProjectConfigHeaderTemplateFile
constructor
A new instance of ProjectConfigHeaderTemplateFile.
Methods inherited from TemplatedSrcFile
Methods inherited from Ritsu::SrcFile
#abs_path, #base_name, #create, find_by_src_path, 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(project) ⇒ ProjectConfigHeaderTemplateFile
Returns a new instance of ProjectConfigHeaderTemplateFile.
35 36 37 38 |
# File 'lib/ritsu/src_files/project_config_header_template_file.rb', line 35 def initialize(project) super("config.h.in", project) self.template = Template.new(self) end |
Instance Method Details
#include_in_source_files? ⇒ Boolean
40 41 42 |
# File 'lib/ritsu/src_files/project_config_header_template_file.rb', line 40 def include_in_source_files? false end |