Module: Yapra
Defined Under Namespace
Modules: Inflector, LegacyPlugin, Plugin, VERSION Classes: Config, Pipeline, PipelineBase, RbPipeline, Runtime
Instance Method Summary collapse
-
#load_class_constant(module_name) ⇒ Object
TODO create util class, and move this method.
Instance Method Details
#load_class_constant(module_name) ⇒ Object
TODO create util class, and move this method.
31 32 33 34 |
# File 'lib/yapra.rb', line 31 def load_class_constant module_name require Yapra::Inflector.underscore(module_name) return Yapra::Inflector.constantize(module_name) end |