Skip to content

Instantly share code, notes, and snippets.

@jaymcgavren
Created August 18, 2009 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaymcgavren/169491 to your computer and use it in GitHub Desktop.
Save jaymcgavren/169491 to your computer and use it in GitHub Desktop.
$ ./run-specs.sh
(in /Users/jay/Projects/gemini.fresh)
** Invoke spec (first_time)
** Execute spec
Failed to evaluate code:
def position=(*arg1)
raise Gemini::InvalidWrapWithCallbacksError.new("Cannot wrap position= with callbacks without \"position\"") unless respond_to?(:position)
event = ValueChangedEvent.new(@target.position, *arg1)
callback_abort = CallbackStatus.new
@target.notify :before_position_changes, event
if callback_abort.continue?
self.wrapped_position=(*arg1)
@target.notify :after_position_changes, event
end
end
./src/behavior.rb:63:in `class_eval': ./src/behavior.rb:69: , unexpected tRPAREN (SyntaxError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment