Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… protected.
  • Loading branch information...
commit ce34321b5b3a40210b43d973fbfd4e9e56e7b9ac 1 parent 429820c
Noel Cower authored
Showing with 2 additions and 9 deletions.
  1. +2 −9 bbmember.rb
11 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.
Please sign in to comment.
Something went wrong with that request. Please try again.