module Metas::Controller::ChangeMetaTags::InstanceMethods

Public Instance Methods

change_meta_tags(&block) click to toggle source
Calls superclass method
# File lib/metas/controller/change_meta_tags.rb, line 6
def change_meta_tags(&block)
  self.define_singleton_method(:default_meta_tags) do
    super().merge(block.call)
  end
end