Class: Osmer::Schema::Osm2pgsql::Dsl

Inherits:
Base::Dsl
  • Object
show all
Defined in:
lib/osmer/schema/osm2pgsql.rb

Instance Method Summary collapse

Methods inherited from Base::Dsl

#method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Osmer::Schema::Base::Dsl

Instance Method Details

#updates(interval = nil, &block) ⇒ Object



146
147
148
149
150
# File 'lib/osmer/schema/osm2pgsql.rb', line 146

def updates(interval = nil, &block)
  require 'osmer/updater'

  schema.updater = Osmer::Updater.new(interval).configure(&block)
end