Module: EasyAppHelper::Processes::Command
- Included in:
- Base
- Defined in:
- lib/easy_app_helper/processes/command.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
Instance Method Summary collapse
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
6 7 8 |
# File 'lib/easy_app_helper/processes/command.rb', line 6 def command @command end |
Instance Method Details
#valid? ⇒ Boolean
8 9 10 |
# File 'lib/easy_app_helper/processes/command.rb', line 8 def valid? File.exists? self.command.split(' ').first end |