Methods

Files

Class/Module Index [+]

Quicksearch

Tins::SymbolMaker

This module can be included in another module/class. It generates a symbol for every missing method that was called in the context of this module/class.

Public Instance Methods

method_missing(id, *args) click to toggle source

Returns a symbol (id) for every missing method named id.

# File lib/tins/dslkit.rb, line 308
def method_missing(id, *args)
  if args.empty?
    id
  else
    super
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.