History

Add EntryIndex#blank?

Thibaut committed 11 years ago

Commit ecf774e1 parent 1655a002 files · +9 −3Browse files

Showing the changes to lib/docs/core (1 of 2 files). Show all

Unified · Split

lib/docs/core/entry_index.rb+2−0
@@ -21,6 +21,8 @@ module Docs · 20 unmodified lines
21 @entries.empty?21 @entries.empty?
22 end22 end
23 23
24 alias_method :blank?, :empty?
25
24 def length26 def length
25 @entries.length27 @entries.length
26 end28 end