Module: CDK::CommonControls

Included in:
SCROLL
Defined in:
lib/cdk/mixins/common_controls.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#quit_on_enterObject

Returns the value of attribute quit_on_enter.



3
4
5
# File 'lib/cdk/mixins/common_controls.rb', line 3

def quit_on_enter
  @quit_on_enter
end

Instance Method Details

#quit_on_enter?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/cdk/mixins/common_controls.rb', line 10

def quit_on_enter?
  @quit_on_enter_set ? @quit_on_enter : true
end