[ruby-core:78260] [Ruby trunk Feature#12971] (Refactoring) Remove `defined?` checks from observer.rb

From: itsnikolay@...
Date: 2016-11-22 17:32:02 UTC
List: ruby-core #78260
Issue #12971 has been updated by Nikolay Ponomarev.


Github Pull Request: https://github.com/ruby/ruby/pull/1489

----------------------------------------
Feature #12971: (Refactoring) Remove `defined?` checks from observer.rb
https://bugs.ruby-lang.org/issues/12971#change-61624

* Author: Nikolay Ponomarev
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Remove `defined?` checks from observer.rb
- Contains less code
- Easier to understand Observable logic
- No performance downgrade



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next