Class: REXML::Validation::Ref

Inherits:
Object
  • Object
show all
Defined in:
lib/rexml/validation/relaxng.rb

Instance Method Summary collapse

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

#inspectObject


534
535
536
# File 'lib/rexml/validation/relaxng.rb', line 534

def inspect
  "{#{to_s}}"
end

#to_sObject


531
532
533
# File 'lib/rexml/validation/relaxng.rb', line 531

def to_s
  @value
end