Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Runnable's @name is now @NAME, but has normal accessor methods

[git-p4: depot-paths = "//src/minitest/dev/": change = 8492]
  • Loading branch information...
commit 36cfeb3d8f239e62f807c41942dd88f354cb45d1 1 parent 57a3153
@zenspider zenspider authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/minitest.rb
View
11 lib/minitest.rb
@@ -212,7 +212,16 @@ class Runnable
##
# Name of the run.
- attr_accessor :name
+ def name
+ @NAME
+ end
+
+ ##
+ # Set the name of the run.
+
+ def name= o
+ @NAME = o
+ end
def self.inherited klass # :nodoc:
self.runnables << klass
Please sign in to comment.
Something went wrong with that request. Please try again.