Class: Racf::Commands::AbstractCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/racf/commands/abstract_command.rb

Direct Known Subclasses

Listgrp, Listuser, Rlist, Search

Instance Method Summary collapse

Constructor Details

#initialize(session) ⇒ AbstractCommand

Returns a new instance of AbstractCommand.



4
5
6
# File 'lib/racf/commands/abstract_command.rb', line 4

def initialize(session)
  @session = session
end

Instance Method Details

#extract_resources(*args) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/racf/commands/abstract_command.rb', line 8

def extract_resources(*args)
  raise NotImplementedError.new("Subclass must implement method extract_resources.")
end