Skip to content

Commit

Permalink
A few minor doc updates
Browse files Browse the repository at this point in the history
[ci-skip]
  • Loading branch information
beerlington committed Nov 1, 2014
1 parent 6bd7d40 commit 1487f65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/classy_enum/active_record.rb
Expand Up @@ -41,6 +41,8 @@ def self.included(klass)
# ==== Example
# # Associate an enum Priority with Alarm model's priority attribute
# class Alarm < ActiveRecord::Base
# include ClassyEnum::ActiveRecord
#
# classy_enum_attr :priority
# end

Expand Down
2 changes: 2 additions & 0 deletions lib/classy_enum/predicate.rb
Expand Up @@ -22,6 +22,8 @@ def self.define_predicate_method(klass, enum)
#
# # Create an ActiveRecord class using the Breed enum
# class Dog < ActiveRecord::Base
# include ClassyEnum::ActiveRecord
#
# classy_enum_attr :breed
# end
#
Expand Down

0 comments on commit 1487f65

Please sign in to comment.