Class: Riserva::Commands::ApplicationCommand
- Inherits:
-
Object
- Object
- Riserva::Commands::ApplicationCommand
show all
- Includes:
- Wisper::Publisher
- Defined in:
- lib/riserva/commands/application_command.rb
Defined Under Namespace
Classes: NotImplementedError
Instance Method Summary
collapse
Constructor Details
9
10
11
|
# File 'lib/riserva/commands/application_command.rb', line 9
def initialize
subscribe(build_listener.new)
end
|
Instance Method Details
#call(path) ⇒ Object
17
18
19
20
|
# File 'lib/riserva/commands/application_command.rb', line 17
def call(path)
@path = Pathname.new(path)
valid?
end
|
#files ⇒ Object
13
14
15
|
# File 'lib/riserva/commands/application_command.rb', line 13
def files
listeners.first.files
end
|