Module: Campo::Plugins::Partial::InstanceMethods

Defined in:
lib/campo/plugins/partial.rb

Constant Summary collapse

DECLARATIONS =
<<STR
- atts = {} if atts.nil?
- atts.default_proc = proc {|hash, key| hash[key] = {} } if atts.default_proc.nil?
- inners = {} if inners.nil?
- inners.default = "" if inners.default.nil?
- @campo_tabindex ||= 0 # for tabindex
STR

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#partialObject

Returns the value of attribute partial.



15
16
17
# File 'lib/campo/plugins/partial.rb', line 15

def partial
  @partial
end

Instance Method Details

#declarationsObject



24
25
26
# File 'lib/campo/plugins/partial.rb', line 24

def declarations
  DECLARATIONS
end