Skip to content

Commit

Permalink
Fix Native::Base#alias_native specs
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Sep 22, 2013
1 parent 493fd10 commit ca83d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/native.rb
Expand Up @@ -17,7 +17,7 @@ def Native(obj)
class Native < BasicObject
module Base
module Helpers
def alias_native(new, old, options = nil)
def alias_native(new, old, options = {})
if old.end_with? ?=
define_method new do |value|
`#@native[#{old[0 .. -2]}] = #{Native.convert(value)}`
Expand Down

0 comments on commit ca83d6f

Please sign in to comment.