summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-06-22 10:36:13 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-06-22 10:36:13 -0700
commit61cf72e007de87676f3455e05e0ce0d6eaa48421 (patch)
tree3b619a4bf8f386b4352a5e200bbd297cdd714ab4 /lib
parentae0fc4161d7fc811d786d95c8f8c2323dcfeb30a (diff)
parentc988b1717417d9eb6eb9b691fc15ca91aceacf2b (diff)
downloadffi-yajl-61cf72e007de87676f3455e05e0ce0d6eaa48421.tar.gz
Merge pull request #59 from kou/suppress-method-redefined-warnings
Suppress method redefined warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/ffi_yajl/parser.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ffi_yajl/parser.rb b/lib/ffi_yajl/parser.rb
index 5b9a0c9..9008a3e 100644
--- a/lib/ffi_yajl/parser.rb
+++ b/lib/ffi_yajl/parser.rb
@@ -23,7 +23,8 @@
module FFI_Yajl
class ParseError < StandardError; end
class Parser
- attr_accessor :stack, :key_stack, :key, :finished
+ attr_writer :stack, :key_stack
+ attr_accessor :key, :finished
attr_accessor :opts