method

set_encoded

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: XSD::XSDBase64Binary
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 907
  def set_encoded(value)
    if /^[A-Za-z0-9+\/=]*$/ !~ 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.