Class: Canis::WidgetShortcuts::Ws
- Defined in:
- lib/canis/core/util/widgetshortcuts.rb,
lib/canis/core/util/oldwidgetshortcuts.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.
33 34 35 |
# File 'lib/canis/core/util/widgetshortcuts.rb', line 33 def initialize config={} @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
32 33 34 |
# File 'lib/canis/core/util/widgetshortcuts.rb', line 32 def config @config end |