class Bogy::HashHandler

Public Class Methods

new(hash) click to toggle source
# File lib/bogy/handlers/hash_handler.rb, line 4
def initialize(hash)
  raise ArgumentError, "value should be of Hash type, not #{hash.class}" unless hash.is_a? Hash

  @hash = hash
end

Public Instance Methods

load() click to toggle source
# File lib/bogy/handlers/hash_handler.rb, line 10
def load
  @hash
end