Class: HaveAPI::Fs::Components::HelpFile
- Inherits:
-
File
- Object
- HaveAPI::Fs::Component
- File
- HaveAPI::Fs::Components::HelpFile
- Defined in:
- lib/haveapi/fs/components/help_file.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from HaveAPI::Fs::Component
#atime, #context, #ctime, #mtime
Instance Method Summary collapse
-
#initialize(component, format) ⇒ HelpFile
constructor
A new instance of HelpFile.
Methods inherited from File
#file?, #raw_close, #raw_open, #raw_read, #raw_sync, #raw_truncate, #raw_write, #read, #size, #write
Methods inherited from HaveAPI::Fs::Component
#abspath, #bound=, #bound?, children_reader, component, #contents, #directory?, #executable?, #file?, #find, inherited, #invalid?, #invalidate, #parent, #path, #readable?, #reset, #setup, #times, #title, #unsaved?, #use, #writable?
Constructor Details
#initialize(component, format) ⇒ HelpFile
Returns a new instance of HelpFile.
5 6 7 8 9 10 |
# File 'lib/haveapi/fs/components/help_file.rb', line 5 def initialize(component, format) super() @component = @c = component @context = component.context @format = format end |