From 2201752117cefdb804bb8309e48f98973c798d8d Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 3 Sep 2014 17:58:20 +0100 Subject: fix yard doc warnings --- lib/ffi/struct_layout_builder.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ffi/struct_layout_builder.rb') 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 -- cgit v1.2.1