Sha256: 4a4e38ed450c73a7c6d2f56b2e94458338be7866d9d8050b82af3614f674c80f

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

module SuperHooks
  # A version object
  class Version
    # Major release
    MAJOR = 0
    # Minor release
    MINOR = 0
    # Patch level
    PATCH = 2
    # Preview
    PRE = 1

    # Return the current version of SuperHooks
    # following the semantics versioning
    def self.to_s
      [MAJOR, MINOR, PATCH, PRE].compact.join('.')
    end
  end

  # The current version of SuperHooks
  VERSION = Version.to_s
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
super_hooks-0.0.2.1 lib/super_hooks/version.rb