Exception: Redwood::Index::LockError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sup/index.rb

Instance Method Summary collapse

Constructor Details

#initialize(h) ⇒ LockError

Returns a new instance of LockError.



42
43
44
# File 'lib/sup/index.rb', line 42

def initialize h
  @h = h
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m) ⇒ Object



46
# File 'lib/sup/index.rb', line 46

def method_missing m; @h[m.to_s] end