Class: Ritsu::SrcFiles::CppFile
- Inherits:
-
Ritsu::SrcFile
- Object
- Ritsu::SrcFile
- Ritsu::SrcFiles::CppFile
- Defined in:
- lib/ritsu/src_files/cpp_file.rb
Instance Attribute Summary
Attributes inherited from Ritsu::SrcFile
Instance Method Summary collapse
- #cpp_file? ⇒ Boolean
- #header_file? ⇒ Boolean
-
#initialize(src_path, owner) ⇒ CppFile
constructor
A new instance of CppFile.
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(src_path, owner) ⇒ CppFile
Returns a new instance of CppFile.
8 9 10 |
# File 'lib/ritsu/src_files/cpp_file.rb', line 8 def initialize(src_path, owner) super(src_path, owner) end |
Instance Method Details
#cpp_file? ⇒ Boolean
16 17 18 |
# File 'lib/ritsu/src_files/cpp_file.rb', line 16 def cpp_file? true end |
#header_file? ⇒ Boolean
12 13 14 |
# File 'lib/ritsu/src_files/cpp_file.rb', line 12 def header_file? false end |