Module: Fylla::Thor::Option
- Defined in:
- lib/fylla/completion_extension.rb
Instance Attribute Summary collapse
-
#completion ⇒ Object
Returns the value of attribute completion.
-
#filter ⇒ Object
Returns the value of attribute filter.
Instance Method Summary collapse
Instance Attribute Details
#completion ⇒ Object
Returns the value of attribute completion.
10 11 12 |
# File 'lib/fylla/completion_extension.rb', line 10 def completion @completion end |
#filter ⇒ Object
Returns the value of attribute filter.
10 11 12 |
# File 'lib/fylla/completion_extension.rb', line 10 def filter @filter end |
Instance Method Details
#initialize(name, options = {}) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/fylla/completion_extension.rb', line 12 def initialize(name, = {}) @completion = [:fylla]&.[](:completion) @filter = [:fylla]&.[](:filter) @filter = true if @filter.nil? super end |