lib/waxx/waxx.rb in waxx-0.1.4 vs lib/waxx/waxx.rb in waxx-0.2.0
- old
+ new
@@ -21,18 +21,18 @@
Root = Dir.pwd
# A few helper functions
##
- # Shortcut to Waxx::Waxx variables
+ # Shortcut to Waxx::Conf variables
def [](str)
- Waxx::Conf[str]
+ Waxx::Conf[str.to_s]
end
##
- # Shortcut to Waxx::Waxx variables
+ # Shortcut to Waxx::Conf variables
def /(str)
- Waxx::Conf/str
+ Waxx::Conf[str.to_s]
end
##
# Output to the log
# Waxx.debug(