Class: Culpa::BlockToArray
- Inherits:
-
Object
- Object
- Culpa::BlockToArray
- Defined in:
- lib/culpa/routes_builder.rb
Instance Attribute Summary collapse
-
#culpa_bta_result ⇒ Object
readonly
Returns the value of attribute culpa_bta_result.
Instance Method Summary collapse
-
#initialize ⇒ BlockToArray
constructor
A new instance of BlockToArray.
- #method_missing(sym) ⇒ Object
Constructor Details
#initialize ⇒ BlockToArray
Returns a new instance of BlockToArray.
62 63 64 |
# File 'lib/culpa/routes_builder.rb', line 62 def initialize @culpa_bta_result = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym) ⇒ Object
66 67 68 |
# File 'lib/culpa/routes_builder.rb', line 66 def method_missing(sym) @culpa_bta_result << sym.to_s end |
Instance Attribute Details
#culpa_bta_result ⇒ Object (readonly)
Returns the value of attribute culpa_bta_result.
61 62 63 |
# File 'lib/culpa/routes_builder.rb', line 61 def culpa_bta_result @culpa_bta_result end |