Class: CableCarHandler
- Inherits:
-
Object
- Object
- CableCarHandler
- Defined in:
- lib/russian_hill.rb
Class Method Summary collapse
Class Method Details
.call(template, source = nil) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/russian_hill.rb', line 30 def self.call(template, source = nil) source ||= template.source # this juggling is required to keep line numbers right in the error %{__already_defined = defined?(operations); operations||=RussianHill.new(self); #{source} operations.target! unless (__already_defined && __already_defined != "method")} end |