Class: SafariBookmarksParser::Commands::DumpCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- SafariBookmarksParser::Commands::DumpCommand
- Defined in:
- lib/safari_bookmarks_parser/commands/dump_command.rb
Instance Attribute Summary collapse
-
#output_parts ⇒ Object
readonly
Returns the value of attribute output_parts.
-
#output_style ⇒ Object
readonly
Returns the value of attribute output_style.
Attributes inherited from BaseCommand
#output_format, #output_path, #plist_path
Instance Method Summary collapse
-
#initialize(argv) ⇒ DumpCommand
constructor
A new instance of DumpCommand.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ DumpCommand
Returns a new instance of DumpCommand.
8 9 10 11 12 13 |
# File 'lib/safari_bookmarks_parser/commands/dump_command.rb', line 8 def initialize(argv) @output_style = :tree @output_parts = :all super end |
Instance Attribute Details
#output_parts ⇒ Object (readonly)
Returns the value of attribute output_parts.
6 7 8 |
# File 'lib/safari_bookmarks_parser/commands/dump_command.rb', line 6 def output_parts @output_parts end |
#output_style ⇒ Object (readonly)
Returns the value of attribute output_style.
6 7 8 |
# File 'lib/safari_bookmarks_parser/commands/dump_command.rb', line 6 def output_style @output_style end |