class Rubylog::DSL::Thats
Public Instance Methods
==(*msg)
click to toggle source
# File lib/rubylog/dsl/thats.rb, line 12 def == *msg method_missing :==, *msg end
inspect()
click to toggle source
# File lib/rubylog/dsl/thats.rb, line 18 def inspect @messages end
method_missing(*msg)
click to toggle source
# File lib/rubylog/dsl/thats.rb, line 2 def method_missing *msg @messages ||= [] @messages << msg self end
rubylog_matches_as_guard?(other)
click to toggle source
# File lib/rubylog/dsl/thats.rb, line 8 def rubylog_matches_as_guard? other @messages.inject(other) {|o,msg|o.send *msg} end