Sha256: 42e70cb3acf335d3c0675c54a2b99db776815f83610749c8ed7e3264e7b4a3f8

Contents?: true

Size: 110 Bytes

Versions: 22

Compression:

Stored size: 110 Bytes

Contents

class ProductDecorator < Draper::Base
  decorates :product

  def awesome_title
    "Awesome Title"
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
draper-0.18.0 spec/support/samples/product_decorator.rb
draper-0.17.0 spec/support/samples/product_decorator.rb
draper-0.16.0 spec/support/samples/product_decorator.rb
draper-0.15.0 spec/support/samples/product_decorator.rb
draper-0.15.0rc1 spec/support/samples/product_decorator.rb
draper-0.14.0 spec/support/samples/product_decorator.rb
draper-0.12.3 spec/support/samples/product_decorator.rb
draper-0.12.2 spec/support/samples/product_decorator.rb
draper-0.13.0 spec/support/samples/product_decorator.rb
draper-0.12.1 spec/support/samples/product_decorator.rb
draper-0.12.0 spec/support/samples/product_decorator.rb
draper-0.11.1 spec/support/samples/product_decorator.rb
draper-0.11.0 spec/support/samples/product_decorator.rb
draper-0.10.0 spec/support/samples/product_decorator.rb
draper-0.9.5 spec/support/samples/product_decorator.rb
draper-0.9.3 spec/samples/product_decorator.rb
draper-0.9.2 spec/samples/product_decorator.rb
draper-0.9.1 spec/samples/product_decorator.rb
draper-0.9.0 spec/samples/product_decorator.rb
draper-0.8.1 spec/samples/product_decorator.rb