Sha256: a882a2fd95200bdb34390240762d83c5821d903024dfb63afe74aaada2b0b54d

Contents?: true

Size: 207 Bytes

Versions: 5

Compression:

Stored size: 207 Bytes

Contents

module PageVapor
  def self.included(base)
    base.class_eval do
      include InstanceMethods
    end
  end
  module InstanceMethods
    def flow_meter
      FlowMeter.find_for_page(self)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
radiant-vapor-extension-2.1.4 lib/page_vapor.rb
radiant-vapor-extension-2.1.3 lib/page_vapor.rb
radiant-vapor-extension-2.1.2 lib/page_vapor.rb
radiant-vapor-extension-2.1.1 lib/page_vapor.rb
radiant-vapor-extension-2.1.0 lib/page_vapor.rb