Sha256: 1d983d5a937efd4caceac15e6083f29b29053936cb5a267b6cbae75f463f8fe0

Contents?: true

Size: 528 Bytes

Versions: 9

Compression:

Stored size: 528 Bytes

Contents

require 'time_sheet/version'

# silence HTTPClient
module Warning
  def warn(mgs)
    # drop
  end
end

if defined?(Bundler)
  begin
    require 'pry'
  rescue LoadError => e
    # do nothing, we are probably in production
  end
end

module TimeSheet
  autoload :Time, 'time_sheet/time'
  autoload :TablePrinter, 'time_sheet/table_printer'

  def self.root
    @root ||= File.expand_path(File.dirname(__FILE__) + '/..')
  end

  def self.options=(options)
    @options = options
  end

  def self.options
    @options
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
time-sheet-0.15.0 lib/time_sheet.rb
time-sheet-0.14.1 lib/time_sheet.rb
time-sheet-0.14.0 lib/time_sheet.rb
time-sheet-0.13.0 lib/time_sheet.rb
time-sheet-0.12.0 lib/time_sheet.rb
time-sheet-0.11.2 lib/time_sheet.rb
time-sheet-0.11.1 lib/time_sheet.rb
time-sheet-0.11.0 lib/time_sheet.rb
time-sheet-0.10.0 lib/time_sheet.rb