Class: RandomQuotes::Configuration
- Inherits:
-
Object
- Object
- RandomQuotes::Configuration
- Defined in:
- lib/random_quotes.rb
Instance Attribute Summary collapse
-
#quotes ⇒ Object
Returns the value of attribute quotes.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
18 19 20 |
# File 'lib/random_quotes.rb', line 18 def initialize @quotes = quotes end |
Instance Attribute Details
#quotes ⇒ Object
Returns the value of attribute quotes.
16 17 18 |
# File 'lib/random_quotes.rb', line 16 def quotes @quotes end |