class Object

Attributes

root_sheet[RW]

Public Instance Methods

blank?() click to toggle source
# File lib/extract.rb, line 11
def blank?
  to_s.strip == ""
end
find_sheet() click to toggle source
# File lib/extract/parser.rb, line 22
def find_sheet
  if root_sheet
    root_sheet
  elsif parent
    parent.find_sheet
  else
    raise "can't find sheet"
  end
end
present?() click to toggle source
# File lib/extract.rb, line 14
def present?
  !blank?
end