Class: Blockr::Commands::Block
- Inherits:
-
Blockr::Command
- Object
- Blockr::Command
- Blockr::Commands::Block
- Defined in:
- lib/blockr/commands/block.rb
Instance Method Summary collapse
- #execute(input: $stdin, output: $stdout) ⇒ Object
-
#initialize(websites, options) ⇒ Block
constructor
A new instance of Block.
Methods inherited from Blockr::Command
#command, #cursor, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which
Constructor Details
#initialize(websites, options) ⇒ Block
Returns a new instance of Block.
9 10 11 12 |
# File 'lib/blockr/commands/block.rb', line 9 def initialize(websites, ) @websites = websites @options = end |