1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move RDoc tests out of lib/

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2007-12-28 06:13:06 +00:00
parent c3c58513d7
commit 2a812650a8
4 changed files with 224 additions and 223 deletions

View file

@ -81,7 +81,12 @@ module SM
end
def to_s
"Special: type=#{type}, text=#{text.dump}"
"Special: type=#{type}, name=#{SM::Attribute.as_string type}, text=#{text.dump}"
end
def inspect
"#<SM::Special:0x%x @type=%p, name=%p @text=%p>" % [
object_id, @type, SM::Attribute.as_string(type), text.dump]
end
end