class Decoru::Decorator

adapted from github.com/thepracticaldev/dev.to/blob/2dbb558b30c15b2b77a7d67c41f8c9a303567e1f/app/decorators/application_decorator.rb

Attributes

object[R]

Public Class Methods

new(object) click to toggle source
# File lib/decoru/decorator.rb, line 16
def initialize(object)
  @object = object
end

Public Instance Methods

decorated?() click to toggle source
# File lib/decoru/decorator.rb, line 20
def decorated?
  true
end