Sha256: 584c6152e804b6f55e279bb8443dca2420a55cb2a06f30c2ec87cb2cf74ee8f8

Contents?: true

Size: 216 Bytes

Versions: 5

Compression:

Stored size: 216 Bytes

Contents

module BBLib
  class OptsParser
    class Time < BasicOption

      protected

      # TODO Support custom formats
      def format_value(value)
        ::Time.parse(value)
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bblib-2.0.5 lib/bblib/cli/options/time.rb
bblib-2.0.4 lib/bblib/cli/options/time.rb
bblib-2.0.3 lib/bblib/cli/options/time.rb
bblib-2.0.1 lib/bblib/cli/options/time.rb
bblib-2.0.0 lib/bblib/cli/options/time.rb