Class: EacRubyUtils::Boolean
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value) ⇒ Boolean
constructor
A new instance of Boolean.
Constructor Details
#initialize(value) ⇒ Boolean
Returns a new instance of Boolean.
27 28 29 |
# File 'lib/eac_ruby_utils/boolean.rb', line 27 def initialize(value) @value = self.class.parse(value) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
25 26 27 |
# File 'lib/eac_ruby_utils/boolean.rb', line 25 def value @value end |