Class: Sbuilder::Ial::Model::FunctionTypeCallable

Inherits:
Callable
  • Object
show all
Defined in:
lib/model/model_dsl.rb

Direct Known Subclasses

Function, Transaction

Instance Attribute Summary collapse

Attributes inherited from Callable

#name, #type

Instance Method Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block.



219
220
221
# File 'lib/model/model_dsl.rb', line 219

def block
  @block
end

#localsObject

Returns the value of attribute locals.



217
218
219
# File 'lib/model/model_dsl.rb', line 217

def locals
  @locals
end

#requestObject



216
217
218
# File 'lib/model/model_dsl.rb', line 216

def request
  @request
end

#responseObject

Returns the value of attribute response.



218
219
220
# File 'lib/model/model_dsl.rb', line 218

def response
  @response
end

Instance Method Details

#[](k) ⇒ Object

obj



221
222
223
224
225
226
227
# File 'lib/model/model_dsl.rb', line 221

def [](k)
  return locals if k == :locals
  return response if k == :response
  return request if k == :request
  return block if k == :block          
  super( k )
end