Parent

Methods

Ruport::Renderer::Options

Structure for holding renderer 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/renderer.rb, line 36
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/renderer.rb, line 47
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/renderer.rb, line 30
def to_hash
  @table
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.