Class: R2OAS::Base
- Inherits:
-
Object
- Object
- R2OAS::Base
- Defined in:
- lib/r2-oas/base.rb
Direct Known Subclasses
Routing::Base, Schema::Base, Schema::UI, Tool::Paths::Ls, Tool::Paths::Stats
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
5 6 7 8 9 10 11 |
# File 'lib/r2-oas/base.rb', line 5 def initialize( = {}) @options = (AppConfiguration::VALID_OPTIONS_KEYS + .keys).each do |key| send("#{key}=", [key]) end end |