From 6d8031eca4ba42daca5dcec710f9b0b6937aa531 Mon Sep 17 00:00:00 2001 From: Sascha Schirra Date: Mon, 22 May 2017 18:52:34 +0200 Subject: [PATCH] typo fixed: contest_restore -> context_restore (#843) --- bindings/ruby/unicorn_gem/ext/unicorn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/unicorn_gem/ext/unicorn.c b/bindings/ruby/unicorn_gem/ext/unicorn.c index 33dfbb20..e743aaed 100644 --- a/bindings/ruby/unicorn_gem/ext/unicorn.c +++ b/bindings/ruby/unicorn_gem/ext/unicorn.c @@ -59,7 +59,7 @@ void Init_unicorn() { rb_define_method(UcClass, "query", m_uc_query, 1); rb_define_method(UcClass, "context_save", m_uc_context_save, 0); rb_define_method(UcClass, "context_update", m_uc_context_update, 1); - rb_define_method(UcClass, "contest_restore", m_uc_context_restore, 1); + rb_define_method(UcClass, "context_restore", m_uc_context_restore, 1); } VALUE m_uc_initialize(VALUE self, VALUE arch, VALUE mode) {