Method: LamyResult::Lamy#to_a
- Defined in:
- lib/lamy_result/lamy.rb
#to_a ⇒ Object
Returns an array of the instance. The status instance attribute is first and the value attribute is second. The status will be returned as a symbol unless it is true or false. At which point, it will be converted.
66 67 68 69 70 71 |
# File 'lib/lamy_result/lamy.rb', line 66 def to_a [ export_status, @value ] end |