Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #37 from Factlink/fix/typo-in-alpha-compatibility
Browse files Browse the repository at this point in the history
Fix typo in alpha compatibility
  • Loading branch information
marten committed Jul 30, 2013
2 parents 94b9dba + 52d9ea9 commit 397ace8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/pavlov/alpha_compatibility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ def self.arguments_to_attributes(operation_class, arguments)

module Helpers
def old_interactor name, *args
args = add_compatablity_pavlov_options args
args = add_compatibility_pavlov_options args
Pavlov.old_interactor name, *args
end

def old_query name, *args
args = add_compatablity_pavlov_options args
args = add_compatibility_pavlov_options args
Pavlov.old_query name, *args
end

def old_command name, *args
args = add_compatablity_pavlov_options args
args = add_compatibility_pavlov_options args
Pavlov.old_command name, *args
end

private
def add_compatablity_pavlov_options args
def add_compatibility_pavlov_options args
# TODO: we should do this at a point where we know how many arguments we need
# so we can decide if we need to merge with another options object or
# just add it.
Expand Down

0 comments on commit 397ace8

Please sign in to comment.