Exception: Smartdict::MissingOption
- Defined in:
- lib/smartdict/errors.rb
Instance Method Summary collapse
-
#initialize(option) ⇒ MissingOption
constructor
A new instance of MissingOption.
- #message ⇒ Object
Constructor Details
#initialize(option) ⇒ MissingOption
Returns a new instance of MissingOption.
14 15 16 |
# File 'lib/smartdict/errors.rb', line 14 def initialize(option) @option = option end |
Instance Method Details
#message ⇒ Object
18 19 20 |
# File 'lib/smartdict/errors.rb', line 18 def "Translator option is missing: `#{@option}`" end |