Method: Edgarj::SearchPopup#initialize

Defined in:
app/models/edgarj/search_popup.rb

#initialize(klass, hash = nil) ⇒ SearchPopup

Returns a new instance of SearchPopup.



9
10
11
12
13
# File 'app/models/edgarj/search_popup.rb', line 9

def initialize(klass, hash = nil)
  super(klass)
  @col  = hash ? hash[:col] : nil
  @val  = hash ? hash[:val] : nil
end