Exception: Flows::Plugin::Interface::MissingMethodsError
Overview
Raised when you're missed some dependency.
Instance Method Summary collapse
-
#initialize(klass, names) ⇒ MissingMethodsError
constructor
A new instance of MissingMethodsError.
- #message ⇒ Object
Constructor Details
#initialize(klass, names) ⇒ MissingMethodsError
Returns a new instance of MissingMethodsError.
47 48 49 50 |
# File 'lib/flows/plugin/interface.rb', line 47 def initialize(klass, names) @klass = klass @names = names end |
Instance Method Details
#message ⇒ Object
52 53 54 |
# File 'lib/flows/plugin/interface.rb', line 52 def "Methods required by interface for #{@klass} are missing: #{@names.map(&:to_s).join(', ')}" end |