mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Add a Haml::VERSION string.
This commit is contained in:
parent
21451ee6bd
commit
2e6f9f59af
1 changed files with 3 additions and 0 deletions
|
@ -830,6 +830,9 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
|
|||
# Defaults to <tt>['textarea', 'pre']</tt>.
|
||||
#
|
||||
module Haml
|
||||
# A string representing the version of Haml
|
||||
VERSION = File.read(File.dirname(__FILE__) + '/../VERSION').strip
|
||||
|
||||
# This method is called by init.rb,
|
||||
# which is run by Rails on startup.
|
||||
# We use it rather than putting stuff straight into init.rb
|
||||
|
|
Loading…
Add table
Reference in a new issue