Skip to content

Instantly share code, notes, and snippets.

@bpohoriletz
Last active October 7, 2015 08:38
Show Gist options
  • Select an option

  • Save bpohoriletz/3136690 to your computer and use it in GitHub Desktop.

Select an option

Save bpohoriletz/3136690 to your computer and use it in GitHub Desktop.

Revisions

  1. bpohoriletz revised this gist Aug 21, 2013. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    RUBY_THEORY

    # Ruby variables - local, etc.

    # What is the difference between Procs and Lambdas

    # Duck typing. Pros cons?
  2. Bohdan Pohorilets revised this gist Jul 24, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -22,4 +22,4 @@

    RAILS_THEORY

    # what is rails stack?
    # what is the rails stack?
  3. Bohdan Pohorilets revised this gist Jul 24, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    THEORY
    RUBY_THEORY

    # What is the difference between Procs and Lambdas

    @@ -14,7 +14,7 @@

    # What happens when you do Class.new

    PRACTICE
    RUBY_PRACTICE

    # write a method that accepts a sentence as a parameter
    # and returns same sentence with all words in their places but reverted
  4. Bohdan Pohorilets revised this gist Jul 24, 2012. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # THEORY
    THEORY

    # What is the difference between Procs and Lambdas

    @@ -14,12 +14,12 @@

    # What happens when you do Class.new

    # PRACTICE
    PRACTICE

    # write a method that accepts a sentence as a parameter
    # and returns same sentence with all words in their places but reverted
    # :in => 'I love pizza', :out => 'I evol azzip'

    RAILS THEORY
    RAILS_THEORY

    # what is rails stack?
  5. Bohdan Pohorilets revised this gist Jul 24, 2012. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,8 @@

    # write a method that accepts a sentence as a parameter
    # and returns same sentence with all words in their places but reverted
    # :in => 'I love pizza', :out => 'I evol azzip'
    # :in => 'I love pizza', :out => 'I evol azzip'

    RAILS THEORY

    # what is rails stack?
  6. Bohdan Pohorilets revised this gist Jul 18, 2012. 2 changed files with 21 additions and 5 deletions.
    21 changes: 21 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    # THEORY

    # What is the difference between Procs and Lambdas

    # Duck typing. Pros cons?

    # What is the value of nil.object_id in Ruby? Why?

    # what is the difference between p, puts, print in Ruby

    # method lookup in Ruby

    # Class hierarchy in Ruby

    # What happens when you do Class.new

    # PRACTICE

    # write a method that accepts a sentence as a parameter
    # and returns same sentence with all words in their places but reverted
    # :in => 'I love pizza', :out => 'I evol azzip'
    5 changes: 0 additions & 5 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +0,0 @@
    # What is the difference between Procs and Lambdas

    # Duck typing

    # What is the value of nil.object_id in Ruby? Why?
  7. Bohdan Pohorilets created this gist Jul 18, 2012.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # What is the difference between Procs and Lambdas

    # Duck typing

    # What is the value of nil.object_id in Ruby? Why?