Module: Kangaroo::Util::Loader::Model

Defined in:
lib/kangaroo/util/loader/model.rb

Instance Method Summary collapse

Instance Method Details

#length_of_model_nameObject



11
12
13
# File 'lib/kangaroo/util/loader/model.rb', line 11

def length_of_model_name
  model.length
end

#model_class_nameObject



15
16
17
# File 'lib/kangaroo/util/loader/model.rb', line 15

def model_class_name
  self.class.namespace.oo_to_ruby model
end