Created
November 24, 2014 18:56
-
-
Save simi/228b87af25f7dd3d7b0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Refinery | |
class Version | |
@major = 3 | |
@minor = 0 | |
@tiny = 0 | |
@build = nil | |
class << self | |
attr_reader :major, :minor, :tiny, :build | |
def to_s | |
[@major, @minor, @tiny, @build].compact.join('.') | |
end | |
def rails_version | |
'~> 4.1.5' | |
end | |
def ruby_version | |
'>= 2.0.0' | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment