Permalink
Browse files

Replaced type and type= methods with an attr_accessor. type= is still…

… protected.
  • Loading branch information...
1 parent 429820c commit ce34321b5b3a40210b43d973fbfd4e9e56e7b9ac @nilium committed Mar 24, 2009
Showing with 2 additions and 9 deletions.
  1. +2 −9 bbmember.rb
View
@@ -76,15 +76,8 @@ def process
protected :initialize
protected :process
- # Returns a string representing the type of the member.
- def type
- @type
- end
-
- # Sets the type of the member.
- def type=(type)
- @type = type
- end
+ # A string representing the type of the member.
+ attr_accessor :type
protected :type=
# Returns the type of member this is.

0 comments on commit ce34321

Please sign in to comment.