Skip to content

Instantly share code, notes, and snippets.

Svetoslav betasve

  • Sofia
Block or report user

Report or block betasve

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View flattener.rb
# A simple Ruby class providing an alternative implementation
# of the *Array#flatten method*
# Author:: Svetoslav Blyahov
class Flattener
# The initializer method needed for the alternative flatten prcedure
# @param [Array] arr
def initialize(arr)
You can’t perform that action at this time.