Module: RespondTo

Extended by:
Version
Defined in:
lib/version.rb

Defined Under Namespace

Modules: Version

Class Method Summary collapse

Methods included from Version

version

Class Method Details

.const_missing(const) ⇒ Object



51
52
53
54
55
56
57
58
# File 'lib/version.rb', line 51

def self.const_missing(const)
  # This avoid reading from disk unless the VERSION is requested.
  if const == :VERSION
    version[:string]
  else
    super
  end
end