Module: LaMaquina

Defined in:
lib/la_maquina.rb,
lib/la_maquina/engine.rb,
lib/la_maquina/errors.rb,
lib/la_maquina/piston.rb,
lib/la_maquina/version.rb,
lib/la_maquina/notifier.rb,
lib/la_maquina/piston/base.rb,
lib/la_maquina/dependency_map.rb,
lib/la_maquina/error_notifier.rb,
lib/la_maquina/dependency_map/base.rb,
lib/la_maquina/error_notifier/base.rb,
lib/la_maquina/piston/cache_piston.rb,
lib/la_maquina/piston/sunspot_piston.rb,
lib/la_maquina/dependency_map/yaml_map.rb,
lib/la_maquina/dependency_map/constant_map.rb,
lib/la_maquina/errors/invalid_mapping_error.rb,
lib/la_maquina/error_notifier/silent_notifier.rb,
lib/la_maquina/error_notifier/honeybadger_notifier.rb

Defined Under Namespace

Modules: DependencyMap, ErrorNotifier, Errors, Notifier, Piston Classes: Engine

Constant Summary collapse

VERSION =
"1.1.1"

Class Method Summary collapse

Class Method Details

.format_class_name(klass) ⇒ Object



18
19
20
# File 'lib/la_maquina.rb', line 18

def self.format_class_name(klass)
  klass.to_s.demodulize.underscore
end

.format_object_name(object) ⇒ Object



14
15
16
# File 'lib/la_maquina.rb', line 14

def self.format_object_name(object)
  object.class.to_s.demodulize.underscore
end