Sha256: bd93be4f11874a560ab3a6d4ae7b1533ae02183a10b00841293b2c6a097f36e9

Contents?: true

Size: 415 Bytes

Versions: 7

Compression:

Stored size: 415 Bytes

Contents

module Decorum
  module Spec
    module Decorations
      class ThirdDecorator < Decorum::Decorator
        share :shared_attribute
        attr_accessor :local_attribute

        def third_decorator_method
          "third"
        end

        alias_method :current_decorator_method, :third_decorator_method

        def respect_previously_defined_methods?
          false
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decorum-0.5.1 spec/support/decorations/third_decorator.rb
decorum-0.5.0 spec/support/decorations/third_decorator.rb
decorum-0.4.1 spec/support/decorations/third_decorator.rb
decorum-0.4.0 spec/support/decorations/third_decorator.rb
decorum-0.3.0 spec/support/decorations/third_decorator.rb
decorum-0.2.0 spec/support/decorations/third_decorator.rb
decorum-0.0.1 spec/support/decorations/third_decorator.rb