Sha256: bdd783b96ef7f38533a75495bc11bb765f83c4c5f753ed6b5bfa144c8bb9faf2

Contents?: true

Size: 185 Bytes

Versions: 3

Compression:

Stored size: 185 Bytes

Contents

class ItemDecorator < BaseDecorator
  def nice_name
    "A very nice #{name}"
  end
end

class ItemCustomDecorator < ItemDecorator
  def custom
    "#{name} was customized :)"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
context_exposer-0.4.1 spec/support/decorators/item_decorator.rb
context_exposer-0.4.0 spec/support/decorators/item_decorator.rb
context_exposer-0.3.0 spec/support/decorators/item_decorator.rb