Method: Uinit::Type::SetOf.from

Defined in:
lib/uinit/type/set_of.rb

.from(set) ⇒ Object



10
11
12
# File 'lib/uinit/type/set_of.rb', line 10

def self.from(set)
  new(set.first) if from?(set)
end