class Dreader::Options
service class to implement the options DSL language
Public Class Methods
new()
click to toggle source
# File lib/dreader.rb, line 26 def initialize @attributes = {} end
Public Instance Methods
method_missing(name, *args, &block)
click to toggle source
# File lib/dreader.rb, line 30 def method_missing(name, *args, &block) @attributes[name] = args[0] end
to_hash()
click to toggle source
# File lib/dreader.rb, line 34 def to_hash @attributes end