Module: Influxdb::Arel::Quoter
Defined Under Namespace
Classes: Repository
Instance Method Summary collapse
- #add_type(type, &block) ⇒ Object
- #quote(value) ⇒ Object
- #repository ⇒ Object
- #repository=(value) ⇒ Object
Instance Method Details
#add_type(type, &block) ⇒ Object
35 36 37 |
# File 'lib/influxdb/arel/quoter.rb', line 35 def add_type(type, &block) repository.add(type, &block) end |
#quote(value) ⇒ Object
31 32 33 |
# File 'lib/influxdb/arel/quoter.rb', line 31 def quote(value) repository.quote(value) end |
#repository ⇒ Object
23 24 25 |
# File 'lib/influxdb/arel/quoter.rb', line 23 def repository @repository ||= Repository.new end |
#repository=(value) ⇒ Object
27 28 29 |
# File 'lib/influxdb/arel/quoter.rb', line 27 def repository=(value) @repository = value end |