Class: Humidifier::Props::JsonProp
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
83 84 85 |
# File 'lib/humidifier/props.rb', line 83 def pretty_print(q) q.text("(#{name}=json)") end |