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



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

def initialize value
  @value = value
end

Instance Method Details

#inspectObject



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

def inspect
  "{#{to_s}}"
end

#to_sObject



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

def to_s
  @value
end