Exception: Valise::Errors::WouldClobber
- Defined in:
- lib/valise/errors.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
readonly
Returns the value of attribute item.
Instance Method Summary collapse
-
#initialize(item) ⇒ WouldClobber
constructor
A new instance of WouldClobber.
Constructor Details
#initialize(item) ⇒ WouldClobber
Returns a new instance of WouldClobber.
16 17 18 19 |
# File 'lib/valise/errors.rb', line 16 def initialize(item) @item = item super("Would clobber #{item.segments.inspect}") end |
Instance Attribute Details
#item ⇒ Object (readonly)
Returns the value of attribute item.
21 22 23 |
# File 'lib/valise/errors.rb', line 21 def item @item end |