Class: CmdStanRb::Configuration
- Inherits:
-
Object
- Object
- CmdStanRb::Configuration
- Defined in:
- lib/cmd_stan_rb/configuration.rb
Instance Attribute Summary collapse
-
#cmdstan_dir ⇒ Object
Returns the value of attribute cmdstan_dir.
-
#model_dir ⇒ Object
Returns the value of attribute model_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/cmd_stan_rb/configuration.rb', line 6 def initialize self.cmdstan_dir = "vendor/cmdstan" self.model_dir = "#{`echo $HOME`.gsub("\n", "")}/cmd_stan_rb-models" end |
Instance Attribute Details
#cmdstan_dir ⇒ Object
Returns the value of attribute cmdstan_dir.
3 4 5 |
# File 'lib/cmd_stan_rb/configuration.rb', line 3 def cmdstan_dir @cmdstan_dir end |
#model_dir ⇒ Object
Returns the value of attribute model_dir.
4 5 6 |
# File 'lib/cmd_stan_rb/configuration.rb', line 4 def model_dir @model_dir end |