Class: Object

Inherits:
BasicObject
Includes:
Rubylog::Term
Defined in:
lib/rubylog/mixins/object.rb

Instance Method Summary collapse

Methods included from Rubylog::Term

#rubylog_clone, #rubylog_deep_dereference, #rubylog_dereference, #rubylog_match_variables, #rubylog_resolve_function, #rubylog_unify, #rubylog_variables

Instance Method Details

#rubylog_matches_as_guard?(other) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/rubylog/mixins/object.rb', line 4

def rubylog_matches_as_guard? other
  self === other
end