Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/active_metadata/helpers.rb

Instance Method Summary collapse

Instance Method Details

#to_classObject

transform a symbol/string into a class



20
21
22
# File 'lib/active_metadata/helpers.rb', line 20

def to_class
  self.to_s.to_class
end