module ComponentHelper
Attributes
properties[RW]
Public Class Methods
extended(component)
click to toggle source
# File lib/komponent/component_helper.rb, line 10 def self.extended(component) component.properties = {} end
Public Instance Methods
property(name, options = {})
click to toggle source
# File lib/komponent/component_helper.rb, line 4 def property(name, options = {}) @properties[name] = options end