Skip to content

Instantly share code, notes, and snippets.

@luisartola
Created July 2, 2012 15:42
Show Gist options
  • Save luisartola/3033852 to your computer and use it in GitHub Desktop.
Save luisartola/3033852 to your computer and use it in GitHub Desktop.
Functional programming
new_reservation.onlye(tralari, tralara).to_json
class FullReservation > Hash
def with_changed_timeslice(timeslice)
  end
end
module TimesliceShaped
def shift
end
end
data_full = FunctionalHas.new(33,"tralari")
function_full = data_full.become(TimesliceShaped)
asdfasdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment