Module: CmdStanRb
- Defined in:
- lib/cmd_stan_rb.rb,
lib/cmd_stan_rb/version.rb,
lib/cmd_stan_rb/configuration.rb
Defined Under Namespace
Classes: Configuration, Error
Constant Summary
collapse
- VERSION =
"0.4.0"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
10
11
12
|
# File 'lib/cmd_stan_rb.rb', line 10
def configuration
@configuration
end
|
Class Method Details
.build_binaries ⇒ Object
12
13
14
|
# File 'lib/cmd_stan_rb.rb', line 12
def build_binaries
system("make -C #{CmdStanRb.configuration.cmdstan_dir} build")
end
|
25
26
27
|
# File 'lib/cmd_stan_rb.rb', line 25
def self.configure
yield(configuration)
end
|
.reset ⇒ Object
16
17
18
|
# File 'lib/cmd_stan_rb.rb', line 16
def reset
system("make -C #{CmdStanRb.configuration.cmdstan_dir} clean-all")
end
|