Method: SafeMe::DuckType#initialize

Defined in:
lib/safe-me/duck_type.rb

#initialize(type) ⇒ DuckType

Returns a new instance of DuckType.



3
4
5
# File 'lib/safe-me/duck_type.rb', line 3

def initialize type
  @type = type
end