Module: EPUB::ContentDocument::Typable
- Included in:
- Navigation, Navigation::Item
- Defined in:
- lib/epub/content_document/typable.rb
Instance Method Summary collapse
Instance Method Details
#types ⇒ Object
[View source]
6 7 8 |
# File 'lib/epub/content_document/typable.rb', line 6 def types @types ||= Set.new end |
#types=(ts) ⇒ Object
[View source]
10 11 12 |
# File 'lib/epub/content_document/typable.rb', line 10 def types=(ts) @types = ts.kind_of?(Set) ? ts : Set.new(ts) end |