Exception: MultiZip::MemberError
- Defined in:
- lib/multi_zip/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#member_path ⇒ Object
readonly
Returns the value of attribute member_path.
Instance Method Summary collapse
-
#initialize(member_path) ⇒ MemberError
constructor
A new instance of MemberError.
- #message ⇒ Object
Constructor Details
#initialize(member_path) ⇒ MemberError
Returns a new instance of MemberError.
26 27 28 |
# File 'lib/multi_zip/errors.rb', line 26 def initialize(member_path) @member_path = member_path end |
Instance Attribute Details
#member_path ⇒ Object (readonly)
Returns the value of attribute member_path.
25 26 27 |
# File 'lib/multi_zip/errors.rb', line 25 def member_path @member_path end |
Instance Method Details
#message ⇒ Object
29 30 31 |
# File 'lib/multi_zip/errors.rb', line 29 def "Member \"#{@member_path}\" not found." end |