Class: Procedo::Procedure::Field

Inherits:
Object
  • Object
show all
Includes:
Codeable
Defined in:
lib/procedo/procedure/field.rb

Overview

An Attribute defines an information to complete

Direct Known Subclasses

Computation, Handler, Setter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parameter, name, options = {}) ⇒ Field

Returns a new instance of Field.


13
14
15
16
17
# File 'lib/procedo/procedure/field.rb', line 13

def initialize(parameter, name, options = {})
  @parameter = parameter
  self.name = name
  @options = options
end

Instance Attribute Details

#nameObject

Returns the value of attribute name


11
12
13
# File 'lib/procedo/procedure/field.rb', line 11

def name
  @name
end

#parameterObject (readonly)

Returns the value of attribute parameter


11
12
13
# File 'lib/procedo/procedure/field.rb', line 11

def parameter
  @parameter
end