XSD::XSDAnySimpleType
String in Ruby could be a binary.
# File xsd/datatypes.rb, line 903 def initialize(value = nil) init(Type, value) end
# File 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
# File xsd/datatypes.rb, line 915 def string @data.unpack("m")[0] end
This page was generated for Ruby 1.8.6
Generated with Ruby-doc Rdoc Generator 0.44.0.