Class: Cure::Builder::BlacklistBuilder
- Inherits:
-
BaseBuilder
- Object
- BaseBuilder
- Cure::Builder::BlacklistBuilder
- Defined in:
- lib/cure/builder/base_builder.rb
Instance Method Summary collapse
Methods inherited from BaseBuilder
Methods included from Database
#database_service, #init_database
Constructor Details
This class inherits a constructor from Cure::Builder::BaseBuilder
Instance Method Details
#call ⇒ void
This method returns an undefined value.
114 115 116 117 118 119 120 |
# File 'lib/cure/builder/base_builder.rb', line 114 def call @opts[:columns].each do |column| with_database do |db_svc| db_svc.remove_column(@named_range.to_sym, column.to_sym) end end end |
#to_s ⇒ String (frozen)
123 124 125 |
# File 'lib/cure/builder/base_builder.rb', line 123 def to_s "Blacklist Builder" end |