lib/teacup/stylesheet_extensions/constraints.rb in teacup-2.2.2 vs lib/teacup/stylesheet_extensions/constraints.rb in teacup-2.3.0
- old
+ new
@@ -1,6 +1,6 @@
module Teacup
- class Stylesheet
+ module StylesheetExtension
def constrain(target, attribute=nil)
if attribute.nil?
attribute = target
target = :self