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.



51
52
53
# File 'lib/sup/index.rb', line 51

def initialize h
  @h = h
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m) ⇒ Object



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

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