Class: Lev::TermMapper

Inherits:
Object show all
Defined in:
lib/lev/term_mapper.rb

Direct Known Subclasses

ScopedAndMapped

Defined Under Namespace

Classes: ScopedAndMapped

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.scope(scope) ⇒ Object



13
14
15
# File 'lib/lev/term_mapper.rb', line 13

def self.scope(scope)
  ScopedAndMapped.new(scope, nil)
end

.scope_and_map(scope, mapping) ⇒ Object



9
10
11
# File 'lib/lev/term_mapper.rb', line 9

def self.scope_and_map(scope, mapping)
  ScopedAndMapped.new(scope, mapping)
end

.verbatimObject



5
6
7
# File 'lib/lev/term_mapper.rb', line 5

def self.verbatim
  ScopedAndMapped.new(nil, nil)
end

Instance Method Details

#map(inputs) ⇒ Object



17
18
19
# File 'lib/lev/term_mapper.rb', line 17

def map(inputs)
  raise AbstractMethodCalled
end