Class: Markup::Preview::Command::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/markup-preview-command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Options

Returns a new instance of Options.



62
63
64
# File 'lib/markup-preview-command.rb', line 62

def initialize(argv)
  parse(argv)
end

Instance Attribute Details

#browserObject (readonly)

Returns the value of attribute browser.



60
61
62
# File 'lib/markup-preview-command.rb', line 60

def browser
  @browser
end

#contentObject (readonly)

Returns the value of attribute content.



60
61
62
# File 'lib/markup-preview-command.rb', line 60

def content
  @content
end

#formatObject (readonly)

Returns the value of attribute format.



60
61
62
# File 'lib/markup-preview-command.rb', line 60

def format
  @format
end