Parent

Methods

Files

Ruport::Controller::Options

Structure for holding controller options. Simplified version of HashWithIndifferentAccess

Public Instance Methods

[](key) click to toggle source

Indifferent lookup of an attribute, e.g.

options[:foo] == options["foo"]
# File lib/ruport/controller.rb, line 41
def [](key)
  send(key)
end
[]=(key,value) click to toggle source

Sets an attribute, with indifferent access.

options[:foo] = "bar"  

options[:foo] == options["foo"] #=> true
options["foo"] == options.foo #=> true
options.foo #=> "bar"
# File lib/ruport/controller.rb, line 52
def []=(key,value)
  send("#{key}=",value)
end
to_hash() click to toggle source

Returns a Hash object. Use this if you need methods other than []

# File lib/ruport/controller.rb, line 35
def to_hash
  @table
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.