class Ouija::Planchette
Public Class Methods
new(hash)
click to toggle source
# File lib/ouija/planchette.rb, line 6 def initialize(hash) @hash = hash end
Public Instance Methods
[](key)
click to toggle source
# File lib/ouija/planchette.rb, line 10 def [](key) value = @hash[key] value.respond_to?(:dup) ? value.dup : value rescue value end
to_hash()
click to toggle source
# File lib/ouija/planchette.rb, line 15 def to_hash @hash.dup end