Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/extlib/class.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def cattr_accessor(*syms)
# moving on). In particular, this makes the return value of this function
# less useful.
def class_inheritable_reader(*ivars)
instance_reader = ivars.pop[:reader] if ivars.last.is_a?(Hash)
instance_reader = ivars.pop[:instance_reader] if ivars.last.is_a?(Hash)

ivars.each do |ivar|
self.class_eval <<-RUBY, __FILE__, __LINE__ + 1
Expand Down