Parent

Methods

Class/Module Index [+]

Quicksearch

Ruote::EngineVariables

A wrapper class giving easy access to engine variables.

There is one instance of this class for an Engine instance. It is returned when calling Engine#variables.

Public Class Methods

new(storage) click to toggle source
# File lib/ruote/engine.rb, line 551
def initialize (storage)

  @storage = storage
end

Public Instance Methods

[](k) click to toggle source
# File lib/ruote/engine.rb, line 556
def [] (k)

  @storage.get_engine_variable(k)
end
[]=(k, v) click to toggle source
# File lib/ruote/engine.rb, line 561
def []= (k, v)

  @storage.put_engine_variable(k, v)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.