Skip to content

Commit fd23938

Browse files
committed
Corrected a YARD @param for Binary::CTypes::TypeResolver#resolve.
1 parent c1871f9 commit fd23938

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/ronin/support/binary/ctypes/type_resolver.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,11 @@ def initialize(types)
8181
# @param [Symbol,
8282
# (Symbol, Integer),
8383
# Range(type),
84-
# Binary::Struct.class] type_signature
84+
# Binary::Struct.class,
85+
# Binary::Union.class] type_signature
8586
# The C type value. The value can be one of the following:
8687
# * `Symbol` - represents a single type (ex: `:int32`)
87-
# * `(type, Integer)` - represents an Array type with the given
88+
# * `(Symbol, Integer)` - represents an Array type with the given
8889
# element type and length (ex: `[:int32, 10]`)
8990
# * `Range(type)` - represents an unbounded Array type with the
9091
# given element type. (ex: `:int32..`)

0 commit comments

Comments
 (0)