Class: SportDb::Import::Configuration
- Inherits:
-
Object
- Object
- SportDb::Import::Configuration
- Defined in:
- lib/sports/config.rb
Instance Attribute Summary collapse
-
#lang ⇒ Object
Returns the value of attribute lang.
Class Method Summary collapse
-
.configure {|config| ... } ⇒ Object
lets you use SportDb.configure do |config| config.lang = ‘it’ end.
Instance Attribute Details
#lang ⇒ Object
Returns the value of attribute lang.
6 7 8 |
# File 'lib/sports/config.rb', line 6 def lang @lang end |
Class Method Details
.configure {|config| ... } ⇒ Object
lets you use
SportDb.configure do |config|
config.lang = 'it'
end
18 |
# File 'lib/sports/config.rb', line 18 def self.configure() yield( config ); end |