Class: EPUB::OCF::Container::Rootfile
- Inherits:
-
Object
- Object
- EPUB::OCF::Container::Rootfile
- Defined in:
- lib/epub/ocf/container.rb
Instance Attribute Summary collapse
-
#full_path ⇒ Object
Returns the value of attribute full_path.
-
#media_type ⇒ Object
Returns the value of attribute media_type.
-
#package ⇒ Object
Returns the value of attribute package.
Instance Method Summary collapse
-
#initialize(full_path = nil, media_type = EPUB::MediaType::ROOTFILE) ⇒ Rootfile
constructor
A new instance of Rootfile.
Constructor Details
#initialize(full_path = nil, media_type = EPUB::MediaType::ROOTFILE) ⇒ Rootfile
Returns a new instance of Rootfile.
23 24 25 |
# File 'lib/epub/ocf/container.rb', line 23 def initialize(full_path=nil, media_type=EPUB::MediaType::ROOTFILE) @full_path, @media_type = full_path, media_type end |
Instance Attribute Details
#full_path ⇒ Object
Returns the value of attribute full_path.
18 19 20 |
# File 'lib/epub/ocf/container.rb', line 18 def full_path @full_path end |
#media_type ⇒ Object
Returns the value of attribute media_type.
18 19 20 |
# File 'lib/epub/ocf/container.rb', line 18 def media_type @media_type end |
#package ⇒ Object
Returns the value of attribute package.
18 19 20 |
# File 'lib/epub/ocf/container.rb', line 18 def package @package end |