Method: Bitcoin::Descriptor::Expression#==

Defined in:
lib/bitcoin/descriptor/expression.rb

#==(other) ⇒ Object



116
117
118
119
# File 'lib/bitcoin/descriptor/expression.rb', line 116

def ==(other)
  return false unless other.is_a?(Expression)
  type == other.type && to_script == other.to_script
end