class Roglew::BaseContext
Public Class Methods
new(obj_type)
click to toggle source
# File lib/roglew/contexts/base.rb, line 54 def initialize(obj_type) @obj_type = obj_type end
Public Instance Methods
included(c)
click to toggle source
Calls superclass method
# File lib/roglew/contexts/base.rb, line 58 def included(c) super c.send(:include, BaseContextModule) c.send(:alias_method, @obj_type, :obj) end