Class: Humidifier::Props::BooleanProp
- Defined in:
- lib/humidifier/props.rb
Constant Summary
Constants inherited from Prop
Instance Attribute Summary
Attributes inherited from Prop
Instance Method Summary collapse
Methods inherited from Prop
allow_type, allowed_types, #documentation, #initialize, #required?, #to_cf, #update_type, #valid?
Constructor Details
This class inherits a constructor from Humidifier::Props::Prop
Instance Method Details
#pretty_print(q) ⇒ Object
59 60 61 |
# File 'lib/humidifier/props.rb', line 59 def pretty_print(q) q.text("(#{name}=boolean)") end |