Class: Castle::Command

Inherits:
Struct
  • Object
show all
Defined in:
lib/castle/command.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



4
5
6
# File 'lib/castle/command.rb', line 4

def data
  @data
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



4
5
6
# File 'lib/castle/command.rb', line 4

def method
  @method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



4
5
6
# File 'lib/castle/command.rb', line 4

def path
  @path
end