Class: Sbuilder::Ial::Model::FunctionTypeCallable
- Defined in:
- lib/model/model_dsl.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#locals ⇒ Object
Returns the value of attribute locals.
- #request ⇒ Object
-
#response ⇒ Object
Returns the value of attribute response.
Attributes inherited from Callable
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
219 220 221 |
# File 'lib/model/model_dsl.rb', line 219 def block @block end |
#locals ⇒ Object
Returns the value of attribute locals.
217 218 219 |
# File 'lib/model/model_dsl.rb', line 217 def locals @locals end |
#request ⇒ Object
216 217 218 |
# File 'lib/model/model_dsl.rb', line 216 def request @request end |
#response ⇒ Object
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
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 |