Class: Line::Matchers::MatchNothing

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/line/matchers/match_nothing.rb

Instance Method Summary collapse

Methods included from Helpers

#inspect_helper

Instance Method Details

#inspect(parent = false) ⇒ Object



12
13
14
# File 'lib/line/matchers/match_nothing.rb', line 12

def inspect(parent=false)
  inspect_helper parent, "MatchNothing", false
end

#matches?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/line/matchers/match_nothing.rb', line 8

def matches?(*)
  false
end