Class: Lego::Value::Boolean

Inherits:
Base
  • Object
show all
Defined in:
lib/lego/value/boolean.rb

Instance Method Summary collapse

Methods inherited from Base

#coerce, #initialize, #parse

Constructor Details

This class inherits a constructor from Lego::Value::Base

Instance Method Details

#parsersObject



4
5
6
7
8
# File 'lib/lego/value/boolean.rb', line 4

def parsers
  [
   ->(v) { parse_boolean(v) }
  ]
end