Sha256: 3e5f0b1e17755bfb2cd6837ab37140ab3e762eb53066f713ef2b865a33435525

Contents?: true

Size: 140 Bytes

Versions: 9

Compression:

Stored size: 140 Bytes

Contents

class PurchaseDecorator < Draper::Decorator
  delegate_all

  humanize :quantity, currency: { suffix: "as_draper_example", default: 0 }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
human_attributes-1.1.0 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-1.0.0 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-0.7.1 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-0.7.0 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-0.6.0 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-0.5.0 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-0.4.0 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-0.3.1 spec/dummy/app/decorators/purchase_decorator.rb
human_attributes-0.3.0 spec/dummy/app/decorators/purchase_decorator.rb