Class: Class

Inherits:
Object show all
Includes:
PatternMatch::Matchable
Defined in:
lib/egison/matcher-core.rb

Instance Method Summary collapse

Methods included from PatternMatch::Matchable

#call

Instance Method Details

#uncons(val) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/egison/matcher-core.rb', line 7

def uncons(val)
  raise NotImplementedError, "need to define `#{__method__}'"
end

#uncons_stream(val, &block) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/egison/matcher-core.rb', line 11

def uncons_stream(val, &block)
  raise NotImplementedError, "need to define `#{__method__}'"
end