Class: Yap::Shell::RubyCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/yap/shell/commands.rb

Instance Attribute Summary

Attributes inherited from Command

#args, #heredoc, #line, #str, #world

Instance Method Summary collapse

Methods inherited from Command

#initialize, #to_s

Constructor Details

This class inherits a constructor from Yap::Shell::Command

Instance Method Details

#to_executable_strObject



159
160
161
# File 'lib/yap/shell/commands.rb', line 159

def to_executable_str
  str
end

#typeObject



155
156
157
# File 'lib/yap/shell/commands.rb', line 155

def type
  :RubyCommand
end