Class: IRB::DocumentTarget
Overview
:nodoc:
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ DocumentTarget
constructor
A new instance of DocumentTarget.
Constructor Details
#initialize(name) ⇒ DocumentTarget
Returns a new instance of DocumentTarget.
14 15 16 |
# File 'lib/irb/completion.rb', line 14 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/irb/completion.rb', line 12 def name @name end |