Class: Markup::Preview::Command::Options
- Inherits:
-
Object
- Object
- Markup::Preview::Command::Options
- Defined in:
- lib/markup-preview-command.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
readonly
Returns the value of attribute browser.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
Instance Method Summary collapse
-
#initialize(argv) ⇒ Options
constructor
A new instance of Options.
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
#browser ⇒ Object (readonly)
Returns the value of attribute browser.
60 61 62 |
# File 'lib/markup-preview-command.rb', line 60 def browser @browser end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
60 61 62 |
# File 'lib/markup-preview-command.rb', line 60 def content @content end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
60 61 62 |
# File 'lib/markup-preview-command.rb', line 60 def format @format end |