Class: REXML::Validation::Ref
- Inherits:
-
Object
- Object
- REXML::Validation::Ref
- Defined in:
- lib/rexml/validation/relaxng.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Ref
constructor
A new instance of Ref.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(value) ⇒ Ref
Returns a new instance of Ref.
528 529 530 |
# File 'lib/rexml/validation/relaxng.rb', line 528 def initialize value @value = value end |
Instance Method Details
#inspect ⇒ Object
534 535 536 |
# File 'lib/rexml/validation/relaxng.rb', line 534 def inspect "{#{to_s}}" end |
#to_s ⇒ Object
531 532 533 |
# File 'lib/rexml/validation/relaxng.rb', line 531 def to_s @value end |