Module: Toga::Error::ClassMethods

Defined in:
lib/toga/error.rb

Instance Method Summary collapse

Instance Method Details

#error(*args) ⇒ Object



11
12
13
# File 'lib/toga/error.rb', line 11

def error(*args)
  args.map {|a| puts "[Toga] Error: " + a }
end

#fail(*args) ⇒ Object



15
16
17
# File 'lib/toga/error.rb', line 15

def fail(*args)
  args.map {|a| puts "[Toga] Failure: " + a }
end