Class: Textus::Read::Deps
- Inherits:
-
Object
- Object
- Textus::Read::Deps
- Extended by:
- Contract::DSL
- Defined in:
- lib/textus/read/deps.rb
Instance Method Summary collapse
- #call(key) ⇒ Object
-
#initialize(container:, call: nil) ⇒ Deps
constructor
rubocop:disable Lint/UnusedMethodArgument.
Methods included from Contract::DSL
arg, around, cli, cli_stdin, contract, contract?, summary, surfaces, verb, view
Constructor Details
#initialize(container:, call: nil) ⇒ Deps
rubocop:disable Lint/UnusedMethodArgument
12 13 14 |
# File 'lib/textus/read/deps.rb', line 12 def initialize(container:, call: nil) # rubocop:disable Lint/UnusedMethodArgument @manifest = container.manifest end |
Instance Method Details
#call(key) ⇒ Object
16 17 18 |
# File 'lib/textus/read/deps.rb', line 16 def call(key) { "key" => key, "deps" => sources_for(key) } end |