Module: Engineyard::Local::UI::Common
Instance Method Summary collapse
Instance Method Details
#ey_localize(message) ⇒ Object
5 6 7 8 9 |
# File 'lib/engineyard-local/ui.rb', line 5 def ey_localize() # TODO this is likely to be insufficient but it's a start # toward making sure the ui is consistent for the user .gsub(/([Aa]) (`)?[Vv]agrant /, '\1n \2ey-local ').gsub(/[Vv]agrant /, 'ey-local ') end |
#say(type, message, opts = nil) ⇒ Object
11 12 13 |
# File 'lib/engineyard-local/ui.rb', line 11 def say(type, , opts=nil) super(type, ey_localize(), opts) end |