Sha256: 7852ebdc09ea50895b1346d7f42247ec7b04563df87814626accb92510e785f9

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

class ProductDecorator < Draper::Decorator
  has_finders

  def awesome_title
    "Awesome Title"
  end

  def overridable
    :overridden
  end

  def self.my_class_method
  end

  private

  def awesome_private_title
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
draper-1.0.0.beta1 spec/support/decorators/product_decorator.rb