Sha256: 975635af8cbdd351812d9f9006312da646dcece709edef22fc7802a65cf71b96

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

class FileMagic

  module Version

    MAJOR = 0
    MINOR = 4
    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.4.2 lib/filemagic/version.rb