Module: Riddl::Handlers

Defined in:
lib/ruby/riddl/handlers.rb,
lib/ruby/riddl/handlers/oauth.rb,
lib/ruby/riddl/handlers/relaxng.rb,
lib/ruby/riddl/handlers/xmlschema.rb,
lib/ruby/riddl/handlers/plain-type.rb

Defined Under Namespace

Classes: Implementation, OAuth, PlainType, RelaxNG, XMLSchema

Constant Summary collapse

@@handlers =
{}

Class Method Summary collapse

Class Method Details

.add(name, what) ⇒ Object



4
5
6
# File 'lib/ruby/riddl/handlers.rb', line 4

def self::add(name,what)
  @@handlers[name] = what
end

.handlersObject



7
8
9
# File 'lib/ruby/riddl/handlers.rb', line 7

def self::handlers
  @@handlers
end