Class: Ritsu::SrcFiles::UiFile

Inherits:
Ritsu::SrcFile show all
Defined in:
lib/ritsu/ext/qt/src_files/ui_file.rb

Instance Attribute Summary

Attributes inherited from Ritsu::SrcFile

#owner, #src_path

Instance Method Summary collapse

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

platform

Methods included from Utility::InstanceSet

included, #initialize_instance

Constructor Details

#initialize(src_path, owner) ⇒ UiFile

Returns a new instance of UiFile.



7
8
9
# File 'lib/ritsu/ext/qt/src_files/ui_file.rb', line 7

def initialize(src_path, owner)
  super(src_path, owner)
end

Instance Method Details

#cpp_file?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/ritsu/ext/qt/src_files/ui_file.rb', line 15

def cpp_file?
  false
end

#header_file?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/ritsu/ext/qt/src_files/ui_file.rb', line 11

def header_file?
  false
end

#ui_file?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/ritsu/ext/qt/src_files/ui_file.rb', line 19

def ui_file?
  true
end