diff options
author | Nick White <nwhite@palantir.com> | 2014-09-03 17:58:20 +0100 |
---|---|---|
committer | Nick White <nwhite@palantir.com> | 2014-09-03 17:58:20 +0100 |
commit | 2201752117cefdb804bb8309e48f98973c798d8d (patch) | |
tree | 7ab2ba1fbbf4046b1dbb35aa81dedb4eb012b2de /lib/ffi/struct_layout_builder.rb | |
parent | 53fedc22339d1447b4690c352acce0d3010bfe21 (diff) | |
download | ffi-2201752117cefdb804bb8309e48f98973c798d8d.tar.gz |
fix yard doc warnings
Diffstat (limited to 'lib/ffi/struct_layout_builder.rb')
-rw-r--r-- | lib/ffi/struct_layout_builder.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ffi/struct_layout_builder.rb b/lib/ffi/struct_layout_builder.rb index 5ebb2ae..5e9e740 100644 --- a/lib/ffi/struct_layout_builder.rb +++ b/lib/ffi/struct_layout_builder.rb @@ -51,8 +51,8 @@ module FFI @size = size if size > @size end - # @param [Numeric] alignment - # Set alignment attribute with +alignment+ only if it is greater than attribute value. + # @param [Numeric] align + # Set alignment attribute with +align+ only if it is greater than attribute value. def alignment=(align) @alignment = align if align > @alignment @min_alignment = align |