module MwGateway
Private Instance Methods
create_gateway()
click to toggle source
# File lib/mediawiki_cli/mwgateway.rb, line 4 def create_gateway opts = parent_options.merge options invoke "mw:connect", [], :wiki => opts.wiki, :username => opts.username, :password => opts.password, :file => opts.file end
output(obj)
click to toggle source
# File lib/mediawiki_cli/mwgateway.rb, line 11 def output(obj) puts obj obj end