Method: Bard::Server#with

Defined in:
lib/bard/server.rb

#with(attrs) ⇒ Object



84
85
86
87
88
89
90
# File 'lib/bard/server.rb', line 84

def with(attrs)
  dup.tap do |s|
    attrs.each do |key, value|
      s.send key, value
    end
  end
end