Class: Piano::PolyglotControllerLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/piano/controllerloader.rb

Overview

Controller loader especifically for polyglot

Class Method Summary collapse

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, options = nil, &block
  Kernel.eval File.read filename
end