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)


192
193
194
# File 'lib/sinja/config.rb', line 192

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