Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit da4dbb0b854702147d79a660ff49d30384f3edb4 1 parent f50178e
@codeodor codeodor authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
4 README.md
@@ -32,7 +32,9 @@ Your exhibits will look something like this:
# app/exhibits/league_exhibit.rb
class LeagueExhibit < DisplayCase::Exhibit
- def self.applicable_to?(object)
+ # Note: the context parameter is new in the master branch, not yet released in the gem.
+ # If you get an argument error, that's why
+ def self.applicable_to?(object, context)
object.class.name == 'League'
end
Please sign in to comment.
Something went wrong with that request. Please try again.