Class: Droonga::WatchSchema
- Inherits:
-
Object
- Object
- Droonga::WatchSchema
- Defined in:
- lib/droonga/watch_schema.rb
Instance Method Summary collapse
- #ensure_created ⇒ Object
-
#initialize(context) ⇒ WatchSchema
constructor
A new instance of WatchSchema.
Constructor Details
#initialize(context) ⇒ WatchSchema
Returns a new instance of WatchSchema.
22 23 24 |
# File 'lib/droonga/watch_schema.rb', line 22 def initialize(context) @context = context end |
Instance Method Details
#ensure_created ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/droonga/watch_schema.rb', line 26 def ensure_created if @context["Keyword"] $log.trace "#{log_tag} skip table creation" return end $log.trace "#{log_tag} ensure_tables: start" ensure_tables $log.trace "#{log_tag} ensure_tables: done" end |