Class: Plistr::Boolean
Instance Method Summary collapse
-
#initialize(value) ⇒ Boolean
constructor
A new instance of Boolean.
- #parse ⇒ Object
Constructor Details
#initialize(value) ⇒ Boolean
Returns a new instance of Boolean.
81 82 83 |
# File 'lib/plistr.rb', line 81 def initialize(value) @value = value end |
Instance Method Details
#parse ⇒ Object
85 86 87 |
# File 'lib/plistr.rb', line 85 def parse @value == "true" end |