ruby/trema/features-request.c in trema-0.2.5 vs ruby/trema/features-request.c in trema-0.2.6
- old
+ new
@@ -14,13 +14,11 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ruby.h"
#include "trema-ruby-utils.h"
-#include "trema.h"
extern VALUE mTrema;
VALUE cFeaturesRequest;
@@ -41,20 +39,20 @@
*
* @overload initialize(transaction_id)
* @example
* FeaturesRequest.new( 123 )
* @param [Integer] transaction_id
- * An unsigned 32bit integer number associated with this message.
+ * An unsigned 32-bit integer number associated with this message.
*
* @overload initialize(options)
* @example
* FeaturesRequest.new( :xid => 123 )
* FeaturesRequest.new( :transaction_id => 123 )
* @param [Hash] options
* the options to create a message with.
- * @option options [Number] :xid
+ * @option options [Number] :xid an alias to transaction_id.
* @option options [Number] :transaction_id
- * An unsigned 32bit integer number associated with this message.
+ * An unsigned 32-bit integer number associated with this message.
* If not specified, an auto-generated value is set.
*
* @raise [ArgumentError] if transaction ID is not an unsigned 32-bit integer.
* @raise [TypeError] if argument is not a Integer or a Hash.
* @return [FeaturesRequest]