Class: Jasonette::Layout

Inherits:
Base
  • Object
show all
Defined in:
lib/jasonette/core/layout.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #context, #json

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



5
6
7
# File 'lib/jasonette/core/layout.rb', line 5

def attributes!
  @attributes.merge components.attributes!
end