Skip to content

Commit

Permalink
Prefer plain method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Jul 27, 2015
1 parent 3f5bab7 commit 6ea03df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/concerns/sortable_events.rb
Expand Up @@ -41,11 +41,11 @@ def description_events_order(events = 'events created in each run')
end

def can_order_created_events?
self.class.__send__(__callee__)
self.class.can_order_created_events?
end

def cannot_order_created_events?
self.class.__send__(__callee__)
self.class.cannot_order_created_events?
end

def events_order
Expand Down

0 comments on commit 6ea03df

Please sign in to comment.