Sha256: 8692c1de4ada1920312db97156a9e30f2f8bd4aa1e7a387d2c7dac68de717124

Contents?: true

Size: 197 Bytes

Versions: 2

Compression:

Stored size: 197 Bytes

Contents

module EmailBills
  module Receipts
    class PeoplesGas < Base
      def value
        parsed[1].to_f
      end

      def number_finder
        /\$([0-9]+\.[0-9]{2})/
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
email_bills-0.1.1 lib/email_bills/receipts/peoples_gas.rb
email_bills-0.1.0 lib/email_bills/receipts/peoples_gas.rb