Files

Class Index [+]

Quicksearch

XSD::XSDToken

Constants

Type

Public Class Methods

new(value = nil) click to toggle source
      # File lib/xsd/datatypes.rb, line 1022
1022:   def initialize(value = nil)
1023:     init(Type, value)
1024:   end

Private Instance Methods

screen_data(value) click to toggle source
      # File lib/xsd/datatypes.rb, line 1028
1028:   def screen_data(value)
1029:     super
1030:     if /\A / =~ value or / \Z/ =~ value or value.index('  ')
1031:       raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
1032:     end
1033:     value
1034:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.