Class: FragmentClient::TypedEntries::Parameter

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/fragment_client/typed_entries.rb

Overview

One templated parameter of a typed Ledger Entry.

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



87
88
89
# File 'lib/fragment_client/typed_entries.rb', line 87

def ==(other)
  other.is_a?(Parameter) && serialize == other.serialize
end

#escaped?Boolean

Returns:

  • (Boolean)


81
82
83
# File 'lib/fragment_client/typed_entries.rb', line 81

def escaped?
  wire_name.to_sym != name
end