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

#initialize ⇒ ActionDefinition

Returns a new instance of ActionDefinition.



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

def initialize
end

Instance Attribute Details

#id ⇒ Object

Returns the value of attribute id.



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

def id
  @id
end

#start ⇒ Object

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_hash ⇒ Object



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

def to_hash
  {
    id: @id
  }
end