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