vendor/gems/chriseppstein-compass-0.8.10/lib/compass/version.rb
def version
      return @version if defined?(@version)

      read_version_file

      if r = revision
        @version[:rev] = r
        @version[:string] << " [#{r[0...7]}]"
      end

      @version
    end
# Returns a hash representing the version.
# The :major, :minor, and :teeny keys have their respective numbers.
# The :string key contains a human-readable string representation of the version.
# The :rev key will have the current revision hash.
#
# This method swiped from Haml and then modified, some credit goes to Nathan Weizenbaum
Returns a hash representing the version.
The :major, :minor, and :teeny keys have their respective numbers.
The :string key contains a human-readable string representation of the version.
The :rev key will have the current revision hash.

This method swiped from Haml and then modified, some credit goes to Nathan Weizenbaum
Returns a hash representing the version . The : major : minor and : teeny keys have their respective numbers . The : string key contains a human - readable string representation of the version . The : rev key will have the current revision hash . This method swiped from Haml and then modified some credit goes to Nathan Weizenbaum
def version
      return @version if defined?(@version)
      read_version_file
      if r = revision
        @version[:rev] = r
        @version[:string] << " [#{r[0...7]}]"
      end
      @version
    end
def version return @version if defined? ( @version ) read_version_file if r = revision @version [ :rev ] = r @version [ :string ] << " [#{r[0...7]}]" end @version end
Returns a hash representing the version.
Returns a hash representing the version .