Class: MediaWikiVagrant::Open

Inherits:
Object
  • Object
show all
Includes:
PluginEnvironment, SettingsPlugin
Defined in:
lib/mediawiki-vagrant/open.rb

Overview

Opens the VM in a browser

Class Method Summary collapse

Instance Method Summary collapse

Methods included from PluginEnvironment

#initialize, #interactive_out?

Class Method Details

.synopsisObject



12
13
14
# File 'lib/mediawiki-vagrant/open.rb', line 12

def self.synopsis
  'Opens the wiki in a browser'
end

Instance Method Details

#executeObject



16
17
18
19
# File 'lib/mediawiki-vagrant/open.rb', line 16

def execute
  open
  0
end