class Teaspoon::Error
Protected Instance Methods
build_message(msg_or_options) { |msg_or_options| ... }
click to toggle source
# File lib/teaspoon/exceptions.rb, line 5 def build_message(msg_or_options) if msg_or_options.is_a?(String) msg_or_options else yield msg_or_options end end