Class: Traim::Helper
- Inherits:
-
Object
- Object
- Traim::Helper
- Defined in:
- lib/traim.rb
Instance Attribute Summary collapse
-
#model ⇒ Object
Returns the value of attribute model.
-
#request ⇒ Object
Returns the value of attribute request.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(block) ⇒ Helper
constructor
A new instance of Helper.
- #logger ⇒ Object
Constructor Details
#initialize(block) ⇒ Helper
Returns a new instance of Helper.
445 446 447 |
# File 'lib/traim.rb', line 445 def initialize(block) instance_eval(&block) end |
Instance Attribute Details
#model ⇒ Object
Returns the value of attribute model.
452 453 454 |
# File 'lib/traim.rb', line 452 def model @model end |
#request ⇒ Object
Returns the value of attribute request.
450 451 452 |
# File 'lib/traim.rb', line 450 def request @request end |
#status ⇒ Object
Returns the value of attribute status.
451 452 453 |
# File 'lib/traim.rb', line 451 def status @status end |