Class: ExecJS::FastNode::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/execjs/fastnode/command.rb

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ Command

Returns a new instance of Command.



4
5
6
# File 'lib/execjs/fastnode/command.rb', line 4

def initialize(command)
  @command = command
end

Instance Method Details

#to_cmdObject



8
9
10
# File 'lib/execjs/fastnode/command.rb', line 8

def to_cmd
  which
end