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


548
549
550
# File 'lib/rexml/validation/relaxng.rb', line 548

def initialize value
  @value = value
end

Instance Method Details

#inspectObject


554
555
556
# File 'lib/rexml/validation/relaxng.rb', line 554

def inspect
  "{#{to_s}}"
end

#to_sObject


551
552
553
# File 'lib/rexml/validation/relaxng.rb', line 551

def to_s
  @value
end