Method: Command::Browser#initialize

Defined in:
lib/command/browser.rb

#initializeBrowser

Returns a new instance of Browser.



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/command/browser.rb', line 14

def initialize
  super("<target> [<target2> ...] [options]")
  @opt.separator "\n  \u30FB\u6307\u5B9A\u3057\u305F\u5C0F\u8AAC\u306E\u63B2\u8F09\u30DA\u30FC\u30B8\u3092\u30D6\u30E9\u30A6\u30B6\u3067\u958B\u304D\u307E\u3059\u3002\n\n  Examples:\nnarou browser n9669bk\nnarou browser musyoku -v\nnarou b 0\n\n  Options:\n  EOS\n\n  @opt.on(\"-v\", \"--vote\", \"\u5C0F\u8AAC\u306E\u6295\u7968\u30FB\u611F\u60F3\u3092\u6295\u7A3F\u3059\u308B\u30DA\u30FC\u30B8\u3092\u8868\u793A\u3059\u308B(\u306A\u308D\u3046\u306E\u307F)\") {\n    @options[\"vote\"] = true\n  }\nend\n"