Sha256: b42dd9fb23a89333a91ef313b211222550af867f496ee72dd2a5716aa591e591

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

require_relative "date_night/version"
require_relative "date_night/string_formatters"
require_relative "date_night/time_formatters"

# Module for friendly Time/Date/DateTime formatting
module DateNight
  class Error < StandardError; end
end

class String
  include DateNight::StringFormatters
end

class Time
  include DateNight::TimeFormatters
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
date_night-0.0.2 lib/date_night.rb
date_night-0.0.1 lib/date_night.rb