lib/osheet/workbook.rb in osheet-1.0.0.rc.4 vs lib/osheet/workbook.rb in osheet-1.0.0

- old
+ new

@@ -3,11 +3,10 @@ require 'osheet/workbook_element' require 'osheet/workbook_api' module Osheet - class Workbook # This 'Workbook' class is really just a scope for workbook builds to run # in. All actually workbook metadata is behavior is handled by the # 'WorkbookElement' class @@ -94,12 +93,10 @@ define_method(meth) {|*args| writer.send(meth, *args) } end end - - class Workbook::ElementStack # this class is just a wrapper to Array. I want to treat this as a # stack of objects for the workbook DSL to reference. I need to push # an object onto the stack, reference it using the 'current' method, @@ -130,8 +127,7 @@ block.call if !block.nil? pop end end - end