Sha256: c8493fd848357521d03b3ad9446830ec98e5f353d2293a708f2da2ba48d7725f

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

class FileMagic

  module Version

    MAJOR = 0
    MINOR = 2
    TINY  = 2

    class << self

      # Returns array representation.
      def to_a
        [MAJOR, MINOR, TINY]
      end

      # Short-cut for version string.
      def to_s
        to_a.join('.')
      end

    end

  end

  VERSION = Version.to_s

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-filemagic-0.2.2 lib/filemagic/version.rb