class Octothorpe::Storage
Inner class for storage. This is to minimise namespace collision with key names. Not exposed to Octothorpe's caller.
Attributes
octothorpe_store[R]
Public Class Methods
new(hash)
click to toggle source
# File lib/octothorpe.rb, line 64 def initialize(hash) @octothorpe_store = hash end
Public Instance Methods
method_missing(method, *attrs)
click to toggle source
Calls superclass method
# File lib/octothorpe.rb, line 68 def method_missing(method, *attrs) super if (::Kernel.block_given? || !attrs.empty?) @octothorpe_store[method] end