Class: Imperator::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/imperator/command-ext.rb,
lib/imperator/command/rest.rb,
lib/imperator/command/rest_helper.rb,
lib/imperator/command/class_factory.rb,
lib/imperator/command/method_factory.rb

Direct Known Subclasses

Rest, Mongoid::Command

Defined Under Namespace

Modules: MethodFactory, RestHelper Classes: ClassFactory, Rest

Instance Method Summary collapse

Instance Method Details

#to_sObject



9
10
11
12
13
# File 'lib/imperator/command-ext.rb', line 9

def to_s
  str = "Command: #{id}"
  str << " - #{object}" if object
  str
end