method

set_encoded

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: XSD::XSDHexBinary
set_encoded(value) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/xsd/datatypes.rb, line 880
  def set_encoded(value)
    if /^[0-9a-fA-F]*$/ !~ value
      raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
    end
    @data = String.new(value).strip
    @is_nil = false
  end
Register or log in to add new notes.