Class: Cure::Builder::RemoveBuilder
- Inherits:
-
BaseBuilder
- Object
- BaseBuilder
- Cure::Builder::RemoveBuilder
- 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.
64 65 66 67 68 |
# File 'lib/cure/builder/base_builder.rb', line 64 def call with_database do |db_svc| db_svc.remove_column(@named_range.to_sym, @column.to_sym) end end |
#to_s ⇒ String (frozen)
71 72 73 |
# File 'lib/cure/builder/base_builder.rb', line 71 def to_s "Remove Builder" end |