class SellObject::FormatterProxy
Attributes
target[RW]
Public Class Methods
new(target_object)
click to toggle source
# File lib/sell_object/formatter_proxy.rb, line 5 def initialize(target_object) self.target = target_object end
Private Instance Methods
method_missing(method, *args, &block)
click to toggle source
# File lib/sell_object/formatter_proxy.rb, line 11 def method_missing(method, *args, &block) target.send(args.first).to_s end