Class: Sinja::Roles

Inherits:
Set
  • Object
show all
Defined in:
lib/sinja/config.rb

Instance Method Summary collapse

Instance Method Details

#intersect?(other) ⇒ Boolean Also known as: ===

Returns:

  • (Boolean)


196
197
198
# File 'lib/sinja/config.rb', line 196

def intersect?(other)
  super(other.instance_of?(self.class) ? other : self.class[*other])
end