Module: Terraspace::App::CallableOption::Concern

Included in:
Builder::Allow::Base, Compiler::Select
Defined in:
lib/terraspace/app/callable_option/concern.rb

Instance Method Summary collapse

Instance Method Details

#callable_option(options = {}) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/terraspace/app/callable_option/concern.rb', line 3

def callable_option(options={})
  callable_option = Terraspace::App::CallableOption.new(
    config_name: options[:config_name],
    config_value: options[:config_value],
    passed_args: options[:passed_args],
  )
  callable_option.object
end