Class: HaveAPI::Fs::Components::ActionExec
- Inherits:
-
Executable
- Object
- HaveAPI::Fs::Component
- File
- Executable
- HaveAPI::Fs::Components::ActionExec
- Defined in:
- lib/haveapi/fs/components/action_exec.rb
Instance Attribute Summary
Attributes inherited from HaveAPI::Fs::Component
#atime, #context, #ctime, #mtime
Instance Method Summary collapse
- #exec ⇒ Object
-
#initialize(action_dir, *args) ⇒ ActionExec
constructor
A new instance of ActionExec.
Methods inherited from Executable
#executable?, #read, #writable?, #write
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(action_dir, *args) ⇒ ActionExec
Returns a new instance of ActionExec.
3 4 5 6 |
# File 'lib/haveapi/fs/components/action_exec.rb', line 3 def initialize(action_dir, *args) super(*args) @action_dir = action_dir end |
Instance Method Details
#exec ⇒ Object
8 9 10 |
# File 'lib/haveapi/fs/components/action_exec.rb', line 8 def exec @action_dir.exec end |