Class: Ccp::Commands::Composite::CommandClass
- Inherits:
-
Struct
- Object
- Struct
- Ccp::Commands::Composite::CommandClass
- Defined in:
- lib/ccp/commands/composite.rb,
lib/ccp/commands/composite.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#cond ⇒ Object
Returns the value of attribute cond.
-
#klass ⇒ Object
Returns the value of attribute klass.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
12 13 14 |
# File 'lib/ccp/commands/composite.rb', line 12 def args @args end |
#cond ⇒ Object
Returns the value of attribute cond
12 13 14 |
# File 'lib/ccp/commands/composite.rb', line 12 def cond @cond end |
#klass ⇒ Object
Returns the value of attribute klass
12 13 14 |
# File 'lib/ccp/commands/composite.rb', line 12 def klass @klass end |
Instance Method Details
#inspect ⇒ Object
14 15 16 17 |
# File 'lib/ccp/commands/composite.rb', line 14 def inspect name = klass.name.split(/Commands::/,2).last "<%s args=%s cond=%s>" % [name, args.inspect, cond.inspect] end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/ccp/commands/composite.rb', line 19 def to_s inspect end |