Class: Piano::PolyglotControllerLoader
- Inherits:
-
Object
- Object
- Piano::PolyglotControllerLoader
- Defined in:
- lib/piano/controllerloader.rb
Overview
Controller loader especifically for polyglot
Class Method Summary collapse
-
.load(filename, options = nil, &block) ⇒ Object
Loads the file, no more settings for the moment.
Class Method Details
.load(filename, options = nil, &block) ⇒ Object
Loads the file, no more settings for the moment
7 8 9 |
# File 'lib/piano/controllerloader.rb', line 7 def self.load filename, = nil, &block Kernel.eval File.read filename end |