Parent

Class/Module Index [+]

Quicksearch

Backup::Binder

Public Class Methods

new(key_and_values) click to toggle source

Creates a new Backup::Notifier::Binder instance. Loops through the provided Hash to set instance variables

# File lib/backup/binder.rb, line 8
def initialize(key_and_values)
  key_and_values.each do |key, value|
    instance_variable_set("@#{ key }", value)
  end
end

Public Instance Methods

get_binding() click to toggle source

Returns the binding (needs a wrapper method because binding is a private method)

# File lib/backup/binder.rb, line 16
def get_binding
  binding
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.