Class: RST::Defaults Private

Inherits:
Object
  • Object
show all
Includes:
Persistent::Persistentable
Defined in:
lib/rst.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defaults Store

HELPER CLASSES collapse

Attributes included from Persistent::Persistentable

#store

HELPER CLASSES collapse

Methods included from Persistent::Persistentable

#delete, #save

Constructor Details

#initialize(command, options) ⇒ Defaults

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Defaults.

Parameters:

  • command (String)
  • options (Hash)


457
458
459
460
# File 'lib/rst.rb', line 457

def initialize(command,options)
  @command = command
  @options = options
end

Instance Attribute Details

#commandObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



448
449
450
# File 'lib/rst.rb', line 448

def command
  @command
end

#optionsObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



449
450
451
# File 'lib/rst.rb', line 449

def options
  @options
end

Instance Method Details

#idObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



451
452
453
# File 'lib/rst.rb', line 451

def id
  'defaults'
end