Permalink
Browse files

Updating docs about removing name method

  • Loading branch information...
1 parent 3fc1317 commit faa48091823c62dcb962c62e383d0427c6c1723a @beerlington beerlington committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −0 CHANGELOG.md
  2. +0 −1 README.md
View
@@ -6,6 +6,7 @@
inheritance to setup classes
* Removing ClassyEnum::Base.valid_options
* Removing ClassyEnum::Base.find
+* Removing ClassyEnum::Base#name
* Enforce use of namespacing for subclasses (Parent::Child < Parent)
* Use require instead of autoload
* Lots of code refactoring
View
@@ -114,7 +114,6 @@ With this setup, I can now do the following:
@alarm.priority.medium? # => true
@alarm.priority.high? # => false
@alarm.priority.to_s # => 'medium'
-@alarm.priority.name # => 'Medium'
# Should this alarm send an email?
@alarm.send_email? # => false

0 comments on commit faa4809

Please sign in to comment.