Class: Object

Inherits:
BasicObject
Defined in:
lib/stitcher/type/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#stitcher_typeObject



8
9
10
# File 'lib/stitcher/type/core_ext.rb', line 8

def stitcher_type
  Stitcher::Type.new self.class == Class ? self : self.class
end

#typeObject



4
5
6
# File 'lib/stitcher/type/core_ext.rb', line 4

def type
  stitcher_type
end