Class: RubyCurses::WidgetShortcuts::Ws
- Defined in:
- lib/rbcurse/core/util/widgetshortcuts.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #[](sym) ⇒ Object
- #[]=(sym, val) ⇒ Object
-
#initialize(config = {}) ⇒ Ws
constructor
A new instance of Ws.
Constructor Details
#initialize(config = {}) ⇒ Ws
Returns a new instance of Ws.
36 37 38 |
# File 'lib/rbcurse/core/util/widgetshortcuts.rb', line 36 def initialize config={} @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
35 36 37 |
# File 'lib/rbcurse/core/util/widgetshortcuts.rb', line 35 def config @config end |