Class: CmdStanRb::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/cmd_stan_rb/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_dirObject

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_dirObject

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