Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/influxdb/arel/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#as(other) ⇒ Object



46
47
48
# File 'lib/influxdb/arel/core_extensions.rb', line 46

def as(other)
  to_influxdb_arel.as(other)
end

#to_influxdb_arelObject Also known as: to_arel



40
41
42
# File 'lib/influxdb/arel/core_extensions.rb', line 40

def to_influxdb_arel
  Influxdb::Arel::Table.new(self.to_s)
end