Class: Pbt::Stateful::Property::Step

Inherits:
Struct
  • Object
show all
Defined in:
lib/pbt/stateful/property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • the current value of args



19
20
21
# File 'lib/pbt/stateful/property.rb', line 19

def args
  @args
end

#commandObject

Returns the value of attribute command

Returns:

  • the current value of command



19
20
21
# File 'lib/pbt/stateful/property.rb', line 19

def command
  @command
end

Instance Method Details

#inspectObject



20
21
22
# File 'lib/pbt/stateful/property.rb', line 20

def inspect
  "#<Pbt::Stateful::Step command=#{command_label}, args=#{args.inspect}>"
end