instance method method_missing

Ruby on Rails 2.2.3

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

method_missing(sym, *args, &block)

No documentation comment.

Parameters

sym req
args rest
block block
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb, line 171
    def method_missing(sym, *args, &block)
      sym = "#{sym}:#{args.shift}" if args.first.kind_of?(Symbol)
      if block
        _start_container(sym, args.first)
        _css_block(block)
        _unify_block
      elsif @in_block
        _indent
        _css_line(sym, *args)
        _newline
        return self
      else
        _start_container(sym, args.first, false)
        _unify_block
      end
      self
    end

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

Defined in Builder::CSS

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close