Ext configuration used by components

  Generates: { name: 'name', handler: function(){ alert('Hello World') } }
Methods
Public Instance methods
to_s(indent=1)

Returns the configuration as a string. Optionally you can specify the indentation spaces.

    # File lib/view/helpers/ext/configuration.rb, line 15
15:       def to_s(indent=1)
16:         return if self.empty?
17:         i = (" "*indent)
18:         s = self.size > 0 ? "\n" : "  "
19:         r = "{#{s}" + self.collect { |k,v| "#{i*2}#{k}: #{s(v)}" if k != :var }.join(",#{s}") + "#{s}#{i if i.size > 1}}"
20:         return r =~ /\{\s*\}/ ? "" : r
21:       end