class Logux::Test::Matchers::Base

Attributes

expected[R]

Public Class Methods

new(*expected) click to toggle source
# File lib/logux/test/matchers/base.rb, line 9
def initialize(*expected)
  @expected = expected
end

Public Instance Methods

supports_block_expectations?() click to toggle source
# File lib/logux/test/matchers/base.rb, line 13
def supports_block_expectations?
  true
end

Private Instance Methods

pretty(obj) click to toggle source
# File lib/logux/test/matchers/base.rb, line 19
def pretty(obj)
  JSON.pretty_generate(obj)
end