class Prepd::Creator

Constants

VALID_CLASSES

Attributes

type[RW]

Public Instance Methods

klass() click to toggle source
# File lib/prepd/cli/commands.rb, line 72
def klass
  Kernel.const_get("Prepd::#{type.capitalize}")
end
set_type_down() click to toggle source
# File lib/prepd/cli/commands.rb, line 68
def set_type_down
  self.type = self.type.downcase
end