class OpenHash::BlackHole

BlackHole Class

Constants

NIL_METHODS

Public Class Methods

new(ohash, *args) click to toggle source
# File lib/open_hash.rb, line 45
def initialize(ohash, *args)
  @ohash = ohash
  @chain_methods = args
end

Public Instance Methods

<<(method_name) click to toggle source

Append a method name to chain methods

# File lib/open_hash.rb, line 57
def <<(method_name)
  @chain_methods << method_name
  self
end