class RubyReportable::Output
Attributes
logic[RW]
name[RW]
Public Class Methods
new(name, options, block)
click to toggle source
# File lib/ruby_reportable/output.rb, line 5 def initialize(name, options, block) @name = name @options = options @logic = block end
Public Instance Methods
[](key)
click to toggle source
# File lib/ruby_reportable/output.rb, line 11 def [](key) @options[key] end
[]=(key, value)
click to toggle source
# File lib/ruby_reportable/output.rb, line 15 def []=(key, value) @options[key] = value end