lib/lionel/proxy_worksheet.rb in lionel_richie-0.1.5.1 vs lib/lionel/proxy_worksheet.rb in lionel_richie-0.2.0

- old
+ new

@@ -1,8 +1,10 @@ module Lionel class ProxyWorksheet - delegate :rows, :save, to: :worksheet - delegate :size, to: :rows + extend Forwardable + + def_delegators :worksheet, :rows, :save + def_delegators :rows, :size attr_reader :worksheet def initialize(worksheet) @worksheet = worksheet end