lib/representable/decorator.rb in representable-1.5.0 vs lib/representable/decorator.rb in representable-1.5.1
- old
+ new
@@ -1,7 +1,8 @@
module Representable
class Decorator
attr_reader :represented
+ alias_method :decorated, :represented
def self.prepare(represented)
new(represented) # was: PrepareStrategy::Decorate.
end
\ No newline at end of file