Module: Findit::Single

Extended by:
ActiveSupport::Concern
Defined in:
lib/findit/single.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#callObject Also known as: load



56
57
58
59
60
# File 'lib/findit/single.rb', line 56

def call
  return @data if defined?(@data)
  res = run_callbacks(:find) { find }
  @data ||= res
end

#findObject



52
53
# File 'lib/findit/single.rb', line 52

def find
end