Skip to content

Fix #<< now returns self#2

Open
eflukx wants to merge 1 commit intoskandhas:masterfrom
eflukx:add_bindata_fix
Open

Fix #<< now returns self#2
eflukx wants to merge 1 commit intoskandhas:masterfrom
eflukx:add_bindata_fix

Conversation

@eflukx
Copy link

@eflukx eflukx commented Dec 10, 2017

CStruct.new << 'bindata' returns a CStruct and not a Range.

Formerly an intermediate var or something this CStruct.new.tap{ |s| s << 'binstring' }` was needed

`CStruct.new << 'bindata'` returns a CStruct and not a Range.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments