Class: Humidifier::Props::IntegerProp
- 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
75 76 77 |
# File 'lib/humidifier/props.rb', line 75 def pretty_print(q) q.text("(#{name}=integer)") end |