Class: Gordon::Skeleton::Factory

Inherits:
Object
  • Object
show all
Defined in:
lib/gordon/skeleton/factory.rb

Class Method Summary collapse

Class Method Details

.create(skeleton_type) ⇒ Object



4
5
6
7
8
# File 'lib/gordon/skeleton/factory.rb', line 4

def self.create(skeleton_type)
  namespace = "Skeleton::Types"

  ::Gordon::Factory.create_instance(namespace, skeleton_type)
end