Sha256: 555614e23359b0b79e2e02cc61dea9ac2c2d98d74b6b3a95dfd6cc82d3efcf1c
Contents?: true
Size: 484 Bytes
Versions: 14
Compression:
Stored size: 484 Bytes
Contents
require 'glimmer/dsl/expression' require 'glimmer/css/rule' module Glimmer module DSL module CSS module PropertyExpression include ParentExpression def can_interpret?(parent, keyword, *args, &block) parent.is_a?(Glimmer::CSS::Rule) and !block_given? and !args.empty? end def interpret(parent, keyword, *args, &block) parent.add_property(keyword, *args) end end end end end
Version data entries
14 entries across 14 versions & 2 rubygems