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:
parent
c3c58513d7
commit
2a812650a8
4 changed files with 224 additions and 223 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue