Class: Resources::Generic
- Inherits:
-
Object
- Object
- Resources::Generic
- Includes:
- EasyType, OraUtils::OracleAccess
- Defined in:
- lib/orabase/resources/generic.rb
Direct Known Subclasses
Constant Summary
Constants included from OraUtils::OracleAccess
OraUtils::OracleAccess::OS_USER_NAME
Class Method Summary collapse
Instance Method Summary collapse
- #index ⇒ Object
-
#initialize ⇒ Generic
constructor
A new instance of Generic.
Methods included from OraUtils::OracleAccess
#add_sid_to, #execute_on_sid, included, #sid_from, #sid_from_resource, #sql, #sql_on, #sql_on_all_asm_sids, #sql_on_all_database_sids, #sql_on_all_sids, #sql_on_sids, #timeout_specified
Constructor Details
Class Method Details
.index ⇒ Object
20 21 22 |
# File 'lib/orabase/resources/generic.rb', line 20 def self.index self.new.index end |
.raw_resources ⇒ Object
16 17 18 |
# File 'lib/orabase/resources/generic.rb', line 16 def self.raw_resources self.new.raw_resources end |
Instance Method Details
#index ⇒ Object
24 25 26 27 28 |
# File 'lib/orabase/resources/generic.rb', line 24 def index raw_resources.collect do |raw_resource| map_raw_to_resource(raw_resource) end end |