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



147
148
149
# File 'lib/yap/shell/commands.rb', line 147

def to_executable_str
  str
end

#typeObject



143
144
145
# File 'lib/yap/shell/commands.rb', line 143

def type
  :RubyCommand
end