Class: BooleanMeta
Instance Method Summary collapse
-
#initialize ⇒ BooleanMeta
constructor
A new instance of BooleanMeta.
- #load(value) ⇒ Object
- #result ⇒ Object
Constructor Details
#initialize ⇒ BooleanMeta
Returns a new instance of BooleanMeta.
5 6 7 |
# File 'lib/meta/BooleanMeta.rb', line 5 def initialize() @value = nil end |
Instance Method Details
#load(value) ⇒ Object
12 13 14 |
# File 'lib/meta/BooleanMeta.rb', line 12 def load(value) @value = value end |
#result ⇒ Object
16 17 18 19 20 21 |
# File 'lib/meta/BooleanMeta.rb', line 16 def result() { :type => :bool, :value => @value } end |