summaryrefslogtreecommitdiff
path: root/lib/ffi/struct_layout_builder.rb
diff options
context:
space:
mode:
authorNick White <nwhite@palantir.com>2014-09-03 17:58:20 +0100
committerNick White <nwhite@palantir.com>2014-09-03 17:58:20 +0100
commit2201752117cefdb804bb8309e48f98973c798d8d (patch)
tree7ab2ba1fbbf4046b1dbb35aa81dedb4eb012b2de /lib/ffi/struct_layout_builder.rb
parent53fedc22339d1447b4690c352acce0d3010bfe21 (diff)
downloadffi-2201752117cefdb804bb8309e48f98973c798d8d.tar.gz
fix yard doc warnings
Diffstat (limited to 'lib/ffi/struct_layout_builder.rb')
-rw-r--r--lib/ffi/struct_layout_builder.rb4
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