lib/representable/decorator.rb in representable-1.7.4 vs lib/representable/decorator.rb in representable-1.7.5
- old
+ new
@@ -5,10 +5,10 @@
def self.prepare(represented)
new(represented)
end
- def self.inline_representer(base_module, &block) # DISCUSS: separate module?
+ def self.inline_representer(base_module, name, options, &block) # DISCUSS: separate module?
Class.new(self) do
include base_module
instance_exec &block
end
end
\ No newline at end of file