Class: Line::Matchers::MatchEverything

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/line/matchers/match_everything.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_everything.rb', line 12

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

#matches?Boolean

Returns:

  • (Boolean)


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

def matches?(*)
  true
end