Class Ruport::Renderer::Options
In: lib/ruport/renderer.rb
Parent: OpenStruct

Structure for holding renderer options. Simplified version of HashWithIndifferentAccess

Methods

[]   []=   to_hash  

Public Instance methods

Indifferent lookup of an attribute, e.g.

 options[:foo] == options["foo"]

Sets an attribute, with indifferent access.

 options[:foo] = "bar"

 options[:foo] == options["foo"] #=> true
 options["foo"] == options.foo #=> true
 options.foo #=> "bar"

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

[Validate]