Sha256: 62aa764049a347f6d3dfbf282b7cc61b3228ead17cf4c837902ce940b0467185

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

class ProductDecorator < Draper::Decorator
  decorates_finders

  def awesome_title
    "Awesome Title"
  end

  def overridable
    :overridden
  end

  def self.overridable
    :overridden
  end

  def self.my_class_method
  end

  private

  def awesome_private_title
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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