Class: Jasonette::Jason::Body
Defined Under Namespace
Classes: Header
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#action, #attr_value, #empty?, #encode, #implicit_set!, #initialize, #inline, #inline!, #klass, #method_missing, #reload!, #render!, #success, #target!, #trigger, #with_attributes
Methods included from Properties
included, #klass_for_property, #merge_properties, #prop, #properties, #properties_empty?, #property_get!, #property_sender, #property_set!
Constructor Details
This class inherits a constructor from Jasonette::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Jasonette::Base
Instance Method Details
#attributes! ⇒ Object
6 7 8 9 10 |
# File 'lib/jasonette/jason/body.rb', line 6 def attributes! a = super a["sections"] = [a["sections"]] if a.has_key?("sections") return a end |