Class: ActionDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/definitions/action_definition.rb

Overview

action definition as defined by DSL

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeActionDefinition

Returns a new instance of ActionDefinition.



7
8
# File 'lib/definitions/action_definition.rb', line 7

def initialize
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/definitions/action_definition.rb', line 5

def id
  @id
end

#startObject

Returns the value of attribute start.



5
6
7
# File 'lib/definitions/action_definition.rb', line 5

def start
  @start
end

Instance Method Details

#to_hashObject



10
11
12
13
14
# File 'lib/definitions/action_definition.rb', line 10

def to_hash
  {
    id: @id
  }
end