Revision 2316294b
Added by Marc Dequènes about 14 years ago
- ID 2316294b8469199357e77d7ceb3e57e5fde60494
lib/cyborghood/cyborg/interface.rb | ||
---|---|---|
end
|
||
|
||
def is_node?(node)
|
||
(node =~ NODE_PATTERN) ? true : false
|
||
(node =~ Regexp.new(NODE_PATTERN)) ? true : false
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
[fix] interface: pattern check was broken