Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/stone/core_ext/symbol.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/stone/core_ext/symbol.rb', line 22

def blank?
  return self.to_s.size <= 0
end

#equalsObject



15
16
17
# File 'lib/stone/core_ext/symbol.rb', line 15

def equals
  Stone::Query.new(self.to_s, :equals)
end

#gtObject



2
# File 'lib/stone/core_ext/symbol.rb', line 2

def gt;   Stone::Query.new(self.to_s, :gt);   end

#gteObject



3
# File 'lib/stone/core_ext/symbol.rb', line 3

def gte;  Stone::Query.new(self.to_s, :gte);  end

#includesObject



7
8
9
# File 'lib/stone/core_ext/symbol.rb', line 7

def includes
  Stone::Query.new(self.to_s, :includes)
end

#ltObject



4
# File 'lib/stone/core_ext/symbol.rb', line 4

def lt;   Stone::Query.new(self.to_s, :lt);   end

#lteObject



5
# File 'lib/stone/core_ext/symbol.rb', line 5

def lte;  Stone::Query.new(self.to_s, :lte);  end

#matchesObject



11
12
13
# File 'lib/stone/core_ext/symbol.rb', line 11

def matches
  Stone::Query.new(self.to_s, :matches)
end

#notObject



19
20
21
# File 'lib/stone/core_ext/symbol.rb', line 19

def not
  Stone::Query.new(self.to_s, :not)
end