class Frizz::Environment
Attributes
bucket[R]
name[R]
Public Class Methods
new(name, data)
click to toggle source
# File lib/frizz/environment.rb, line 5 def initialize(name, data) @name = name data.each do |attribute, value| ivar_name = "@#{attribute}" instance_variable_set(ivar_name, value) self.class.send :define_method, attribute do instance_variable_get(ivar_name) end end @bucket ||= @host end
Public Instance Methods
method_missing(meth, *args, &block)
click to toggle source
Don't raise on undefined methods. Allows for flexible use of frizz.yml attributes.
# File lib/frizz/environment.rb, line 22 def method_missing(meth, *args, &block); end