Module: Tanemaki
- Defined in:
- lib/tanemaki.rb,
lib/tanemaki/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.1.2'
Class Method Summary collapse
- .call(*args) ⇒ Object
- .default_eval_scope(eval_scope) ⇒ Object
- .default_eval_scope=(eval_scope) ⇒ Object
- .ready(path, options = {}) ⇒ Object
Class Method Details
.call(*args) ⇒ Object
6 7 8 |
# File 'lib/tanemaki.rb', line 6 def call(*args) ready(*args) end |
.default_eval_scope(eval_scope) ⇒ Object
16 17 18 |
# File 'lib/tanemaki.rb', line 16 def default_eval_scope(eval_scope) self.default_eval_scope = eval_scope end |
.default_eval_scope=(eval_scope) ⇒ Object
21 22 23 |
# File 'lib/tanemaki.rb', line 21 def default_eval_scope=(eval_scope) @eval_scope = eval_scope end |
.ready(path, options = {}) ⇒ Object
11 12 13 |
# File 'lib/tanemaki.rb', line 11 def ready(path, = {}) Seeder.(Parser.(path), {eval_scope: @eval_scope}.merge()) end |