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.



527
528
529
# File 'lib/rexml/validation/relaxng.rb', line 527

def initialize value
  @value = value
end

Instance Method Details

#inspectObject



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

def inspect
  "{#{to_s}}"
end

#to_sObject



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

def to_s
  @value
end