class Teacup::Limelight
Attributes
styles[R]
Public Class Methods
new(&block)
click to toggle source
# File lib/teacup/limelight.rb, line 6 def initialize(&block) @styles = {} instance_exec(&block) end
Public Instance Methods
method_missing(property, value=nil, &more_props)
click to toggle source
# File lib/teacup/limelight.rb, line 11 def method_missing(property, value=nil, &more_props) if more_props value = Limelight.new(&more_props).styles end styles[property] = value end