vendor/gems/chriseppstein-compass-0.8.10/lib/compass/version.rb
def read_version_file
      require 'yaml'
      @version = YAML::load(File.read(scope('VERSION.yml')))
      @version[:string] = "#{@version[:major]}.#{@version[:minor]}.#{@version[:patch]}"
      @version[:teeny] = @version[:patch]
    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 read_version_file
      require 'yaml'
      @version = YAML::load(File.read(scope('VERSION.yml')))
      @version[:string] = "#{@version[:major]}.#{@version[:minor]}.#{@version[:patch]}"
      @version[:teeny] = @version[:patch]
    end
def read_version_file require 'yaml' @version = YAML :: load ( File . read ( scope ( 'VERSION.yml' ) ) ) @version [ :string ] = "#{@version[:major]}.#{@version[:minor]}.#{@version[:patch]}" @version [ :teeny ] = @version [ :patch ] end
Returns a hash representing the version.
Returns a hash representing the version .