Class: Kanade::NamingStrategy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/kanade/naming_strategy/base.rb

Direct Known Subclasses

CamelCase, PascalCase, SnakeCase

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.configurable(name) ⇒ Object



15
16
17
# File 'lib/kanade/naming_strategy/base.rb', line 15

def self.configurable(name)
  # Do nothing for now
end

Instance Method Details

#deserialize(term) ⇒ Object

JSON –> Ruby



11
12
13
# File 'lib/kanade/naming_strategy/base.rb', line 11

def deserialize(term)
  raise NotImplementedException
end

#serialize(term) ⇒ Object

Ruby –> JSON



6
7
8
# File 'lib/kanade/naming_strategy/base.rb', line 6

def serialize(term)
  raise NotImplementedException
end