Class: Visitors::CLI
- Inherits:
-
Thor
- Object
- Thor
- Visitors::CLI
- Defined in:
- lib/visitors/cli.rb
Instance Method Summary collapse
Instance Method Details
#store ⇒ Object
5 6 7 |
# File 'lib/visitors/cli.rb', line 5 def store say "You're running in development, do it yourself!", :blue end |
#web ⇒ Object
10 11 12 13 14 |
# File 'lib/visitors/cli.rb', line 10 def web require 'vegas' require File.('../../../server', __FILE__) Vegas::Runner.new(Visitors::Server, 'visitors_app') end |