lib/rant/rantvar.rb in rant-0.5.0 vs lib/rant/rantvar.rb in rant-0.5.2
- old
+ new
@@ -1,7 +1,7 @@
-# rantvar.rb - Constants required by all Rant code.
+# rantvar.rb - Support for the +var+ method in Rantfiles.
#
# Copyright (C) 2005 Stefan Lang <langstefan@gmx.at>
#
# This program is free software.
# You can distribute/modify this program under the terms of
@@ -15,11 +15,10 @@
#
# If you're looking for general info about Rant, read the
# README[link:files/README.html].
module Rant
- VERSION = '0.5.0'
# Those are the filenames for rantfiles.
# Case matters!
ROOT_RANTFILE = "root.rant"
SUB_RANTFILE = "sub.rant"
@@ -40,14 +39,9 @@
class Error < StandardError
end
# This module is a namespace for generator classes.
module Generators
- end
-
- @__rant_no_value__ = Object.new.freeze
- def self.__rant_no_value__
- @__rant_no_value__
end
module RantVar
class Error < Rant::Error