instance method group!

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

group!(*args, &block)

No documentation comment.

Parameters

args rest
block block
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb, line 156
    def group!(*args, &block)
      args.each do |arg|
        if arg.is_a?(Symbol)
          instance_eval(&@library[arg])
        else
          instance_eval(&arg)
        end
        _text ', ' unless arg == args.last
      end
      if block
        _css_block(block)
        _unify_block
      end
    end

Defined in activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb line 156 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Builder::CSS

Type at least 2 characters to search.

↑↓ navigate · open · esc close