PageRenderTime 27ms CodeModel.GetById 25ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/irb/version.rb

http://github.com/alloy/dietrb
Ruby | 21 lines | 13 code | 3 blank | 5 comment | 0 complexity | 8d2d29cf58725eabd57b36c78f201dbf MD5 | raw file
 1# MacRuby implementation of IRB.
 2#
 3# This file is covered by the Ruby license. See COPYING for more details.
 4# 
 5# Copyright (C) 2009-2010, Eloy Duran <eloy.de.enige@gmail.com>
 6
 7module IRB
 8  module VERSION #:nodoc:
 9    NAME  = 'DietRB'
10    MAJOR = 0
11    MINOR = 5
12    TINY  = 1
13    
14    STRING = [MAJOR, MINOR, TINY].join('.')
15    DESCRIPTION = "#{NAME} (#{STRING})"
16  end
17  
18  def self.version
19    IRB::VERSION::DESCRIPTION
20  end
21end