module ActiveModel::Naming
Public Instance Methods
demodulized_model_name()
click to toggle source
# File lib/mumukit/core/activemodel.rb, line 10 def demodulized_model_name define_singleton_method :model_name do ActiveModel::Name.new(self, nil, name.demodulize) end end
name_model_as(other)
click to toggle source
# File lib/mumukit/core/activemodel.rb, line 4 def name_model_as(other) define_singleton_method :model_name do other.model_name end end