Class: ArcadiaUserControl
- Inherits:
-
Object
- Object
- ArcadiaUserControl
- Defined in:
- lib/a-core.rb
Direct Known Subclasses
Defined Under Namespace
Classes: UserItem
Constant Summary collapse
- SUF =
'user_control'
Instance Method Summary collapse
-
#items ⇒ Object
def initialize @items = Hash.new end.
- #new_item(_sender, _args) ⇒ Object
Instance Method Details
#items ⇒ Object
def initialize
@items = Hash.new
end
1514 1515 1516 1517 |
# File 'lib/a-core.rb', line 1514 def items @items = Hash.new if @items.nil? @items end |
#new_item(_sender, _args) ⇒ Object
1519 1520 1521 1522 |
# File 'lib/a-core.rb', line 1519 def new_item(_sender, _args) item = self.class::UserItem.new(_sender, _args) items[_args['name']]= item if _args['name'] end |