module Tins::ConstantMaker

This module can be used to extend another module/class. It generates symbols for every missing constant under the namespace of this module/class.

Public Instance Methods

const_missing(id) click to toggle source

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

# File lib/tins/dslkit.rb, line 291
def const_missing(id)
  id
end