Sha256: 05e506e0c3ac1f5e2fe3e3e3c7442d1046c8de2558b86b41a1f5f3a1cabb87e5

Contents?: true

Size: 298 Bytes

Versions: 9

Compression:

Stored size: 298 Bytes

Contents

module Skr
    module Concerns

        module GlTran

            module Postings

                def total
                    total = BigDecimal.new('0')
                    each{ |pst| total+=pst.amount }
                    total
                end

            end

        end
    end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
stockor-0.5.0 lib/skr/concerns/gl_tran_extensions.rb
stockor-0.4.0 lib/skr/concerns/gl_tran_extensions.rb
stockor-0.3.0 lib/skr/concerns/gl_tran_extensions.rb
stockor-0.2 lib/skr/concerns/gl_tran_extensions.rb
stockor-0.1.9 lib/skr/concerns/gl_tran_extensions.rb
stockor-0.1.8 lib/skr/concerns/gl_tran_extensions.rb
stockor-0.1.7 lib/skr/concerns/gl_tran_extensions.rb
stockor-0.1.5 lib/skr/concerns/gl_tran_extensions.rb
stockor-core-0.2 lib/skr/concerns/gl_tran_extensions.rb