Sha256: 2e13bd334283883fe77bf76686eca7765fb4f9e674599affcf0e447305dd7768

Contents?: true

Size: 156 Bytes

Versions: 7

Compression:

Stored size: 156 Bytes

Contents

class ProductsDecorator < Draper::CollectionDecorator

  def link_to
    h.link_to 'sample', "#"
  end

  def some_method
    "some method works"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
draper-1.0.0 spec/support/decorators/products_decorator.rb
draper-1.0.0.beta6 spec/support/decorators/products_decorator.rb
draper-1.0.0.beta5 spec/support/decorators/products_decorator.rb
draper-1.0.0.beta4 spec/support/decorators/products_decorator.rb
draper-1.0.0.beta3 spec/support/decorators/products_decorator.rb
draper-1.0.0.beta2 spec/support/decorators/products_decorator.rb
draper-1.0.0.beta1 spec/support/decorators/products_decorator.rb