Sha256: f4f8733ee0d30c4ac9ef0355b0e0bfb2086e47b098ca5c9db470eb4d4192696b

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

class FileMagic

  module Version

    MAJOR = 0
    MINOR = 7
    TINY  = 1

    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

3 entries across 3 versions & 1 rubygems

Version Path
ruby-filemagic-0.7.1-x86-mingw32 lib/filemagic/version.rb
ruby-filemagic-0.7.1-x86-mswin32-60 lib/filemagic/version.rb
ruby-filemagic-0.7.1 lib/filemagic/version.rb