Class: ONIX::ONIX21::Title

Inherits:
SubsetDSL show all
Defined in:
lib/onix/onix21.rb

Overview

ONIX 2.1 subset

Instance Method Summary collapse

Methods inherited from SubsetDSL

get_class, ref_to_short, short_to_ref

Methods inherited from SubsetDSL

_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported

Methods inherited from Subset

parse, #parse, tag_match, #tag_match, #unsupported

Constructor Details

This class inherits a constructor from ONIX::SubsetDSL

Instance Method Details

#titleObject



97
98
99
# File 'lib/onix/onix21.rb', line 97

def title
  @title_text
end

#typeObject



93
94
95
# File 'lib/onix/onix21.rb', line 93

def type
  @title_type
end