You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/sql_tree.rb
+7-29
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@
5
5
# necessary files for the gem to function properly.
6
6
moduleSQLTree
7
7
8
+
VERSION="0.1.1"
9
+
8
10
class << self
9
11
# The character to quote variable names with.
10
12
attr_accessor:identifier_quote_char
@@ -13,38 +15,14 @@ class << self
13
15
# Set default quote characters
14
16
self.identifier_quote_char='"'
15
17
16
-
# Loads constants in the SQLTree namespace using self.load_default_class_file(base, const)
17
-
# <tt>const</tt>:: The constant that is not yet loaded in the SQLTree namespace. This should be passed as a string or symbol.
18
-
defself.const_missing(const)
19
-
load_default_class_file(SQLTree,const)
20
-
end
21
-
22
-
# Loads constants that reside in the SQLTree tree using the constant name
23
-
# and its base constant to determine the filename.
24
-
# <tt>base</tt>:: The base constant to load the constant from. This should be Foo when the constant Foo::Bar is being loaded.
25
-
# <tt>const</tt>:: The constant to load from the base constant as a string or symbol. This should be 'Bar' or :Bar when the constant Foo::Bar is being loaded.
0 commit comments