Module: EasyAppHelper::Processes::Command

Included in:
Base
Defined in:
lib/easy_app_helper/processes/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

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

Returns:

  • (Boolean)


8
9
10
# File 'lib/easy_app_helper/processes/command.rb', line 8

def valid?
  File.exists? self.command.split(' ').first
end