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.

[View source]

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

def initialize value
  @value = value
end

Instance Method Details

#inspectObject

[View source]

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

def inspect
  "{#{to_s}}"
end

#to_sObject

[View source]

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

def to_s
  @value
end