Module: ActsAsFootprintable::Extenders::Footprinter

Defined in:
lib/acts_as_footprintable/extenders/footprinter.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_footprinter(*_args) ⇒ Object



10
11
12
13
14
15
16
17
18
19
# File 'lib/acts_as_footprintable/extenders/footprinter.rb', line 10

def acts_as_footprinter(*_args)
  require 'acts_as_footprintable/footprinter'
  include ActsAsFootprintable::Footprinter

  class_eval do
    def self.footprinter?
      true
    end
  end
end

#footprinter?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/acts_as_footprintable/extenders/footprinter.rb', line 6

def footprinter?
  false
end