Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/kbam/sugar.rb

Instance Method Summary collapse

Instance Method Details

#<(value) ⇒ Object


62
63
64
65
66
67
# File 'lib/kbam/sugar.rb', line 62

def <(value)
	@sql_prop = "<"
	@sql_value = value

	return self
end

#<=(value) ⇒ Object


69
70
71
72
73
74
# File 'lib/kbam/sugar.rb', line 69

def <=(value)
	@sql_prop = "<="
	@sql_value = value

	return self
end

#>(value) ⇒ Object


54
55
56
57
58
59
# File 'lib/kbam/sugar.rb', line 54

def >(value)
	@sql_prop = ">"
	@sql_value = value

	return self
end

#>=(value) ⇒ Object


76
77
78
79
80
81
# File 'lib/kbam/sugar.rb', line 76

def >=(value)
	@sql_prop = ">="
	@sql_value = value

	return self
end

#like(value) ⇒ Object


83
84
85
86
87
88
# File 'lib/kbam/sugar.rb', line 83

def like(value)
	@sql_prop = "LIKE"
	@sql_value = value

	return self
end

#sql_propObject


90
91
92
# File 'lib/kbam/sugar.rb', line 90

def sql_prop
	@sql_prop
end

#sql_valueObject


94
95
96
# File 'lib/kbam/sugar.rb', line 94

def sql_value
	@sql_value		
end