Class: Rasper::Config
- Inherits:
-
Object
- Object
- Rasper::Config
- Defined in:
- lib/rasper/config.rb
Defined Under Namespace
Classes: Configuration
Class Attribute Summary collapse
-
.image_dir ⇒ Object
readonly
Returns the value of attribute image_dir.
-
.jar_dir ⇒ Object
readonly
Returns the value of attribute jar_dir.
-
.jasper_dir ⇒ Object
readonly
Returns the value of attribute jasper_dir.
Class Method Summary collapse
Class Attribute Details
.image_dir ⇒ Object (readonly)
Returns the value of attribute image_dir.
4 5 6 |
# File 'lib/rasper/config.rb', line 4 def image_dir @image_dir end |
.jar_dir ⇒ Object (readonly)
Returns the value of attribute jar_dir.
4 5 6 |
# File 'lib/rasper/config.rb', line 4 def jar_dir @jar_dir end |
.jasper_dir ⇒ Object (readonly)
Returns the value of attribute jasper_dir.
4 5 6 |
# File 'lib/rasper/config.rb', line 4 def jasper_dir @jasper_dir end |
Class Method Details
.configure {|conf| ... } ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/rasper/config.rb', line 7 def self.configure conf = Configuration.new yield conf @jar_dir = conf.jar_dir @jasper_dir = conf.jasper_dir @image_dir = conf.image_dir end |