Class: Newsmlg2::Scheme

Inherits:
NarModel
  • Object
show all
Includes:
Base::AuthorityAttributes, Base::CommonPowerAttributes
Defined in:
lib/newsmlg2/scheme.rb

Overview

A scheme alias-to-URI mapping, as declared inside a catalog.

Instance Method Summary collapse

Methods included from Base::AuthorityAttributes

included

Methods included from Base::CommonPowerAttributes

included

Instance Method Details

#to_sObject



26
27
28
# File 'lib/newsmlg2/scheme.rb', line 26

def to_s
  "#{names.first} (#{alias_attr}, #{uri})"
end