Method: OpenHAB::YARD::CodeObjects::GroupObject#initialize
- Defined in:
- lib/openhab/yard/code_objects/group_object.rb
#initialize(namespace, name) ⇒ GroupObject
Returns a new instance of GroupObject.
9 10 11 12 13 |
# File 'lib/openhab/yard/code_objects/group_object.rb', line 9 def initialize(namespace, name) @full_name = name name = name.delete(%(.?"')).tr(" ", "-") super end |