class Dumpdb::Settings::Cmd
Public Instance Methods
value(script, placeholder_vals)
click to toggle source
Calls superclass method
Dumpdb::Settings::Base#value
# File lib/dumpdb/settings.rb, line 34 def value(script, placeholder_vals) hsub(super(script), placeholder_vals) end
Private Instance Methods
hsub(string, hash)
click to toggle source
# File lib/dumpdb/settings.rb, line 40 def hsub(string, hash) hash.inject(string){ |new_str, (k, v)| new_str.gsub(":#{k}", v.to_s) } end