Skip to content

Commit

Permalink
remove NullObject#!
Browse files Browse the repository at this point in the history
  • Loading branch information
korny committed Jul 31, 2013
1 parent b4e3e21 commit 8a4ac2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions lib/twitter/null_object.rb
Expand Up @@ -10,9 +10,5 @@ def null?
end
alias nil? null?

def !
true
end

end
end
7 changes: 0 additions & 7 deletions spec/twitter/null_object_spec.rb
Expand Up @@ -9,11 +9,4 @@
end
end

describe "#!" do
it "returns true" do
null_object = Twitter::NullObject.new
expect(!null_object).to be_true
end
end

end

0 comments on commit 8a4ac2e

Please sign in to comment.