Sha256: a23358bb8082c2081495449e65e21b0ac75a5bf26eccaa50ee2306900fbf9076

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

module Phoenix
  class Version
    @major = 0
    @minor = 2
    @tiny  = 0
    @build = 'beta'

    class << self
      attr_reader :major, :minor, :tiny, :build

      def to_s
        [@major, @minor, @tiny, @build].compact.join('.')
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phoenix_core-0.2.0.beta lib/phoenix/version.rb