Ruby

HomePage | RecentChanges | Preferences

Bundler ERB RSpec MiniTest

RubyProjectStructure

ChartKick? http://ankane.github.io/chartkick/

http://www.brianstorti.com/understanding-ruby-idiom-map-with-symbol/

Rake RuboCop

rbenv

Good Ruby code to read http://www.rubyflow.com/items/1817

http://www.quora.com/What-are-the-best-open-source-projects-from-which-to-study-Ruby-code

Garbage Collection: https://www.omniref.com/ruby/2.1.3/symbols/GC#annotation=4035152&line=1

Debugging

Symbols

Installation

from http://nanoc.ws/install/

  sudo gem update --system

learning

http://www.codecademy.com

 first_name = gets.chomp # removes trailing whitespace
 first_name.capitalize!  # modifies the value of first_name rather than just returning the capitalized version

  if end
  if else end
  if elsif else end

  var.downcase! var.upcase! var.gsub!(/s/,"th")

  puts "Some string with #{var} substituted"

  for num in 1..15 # inclusive, two dots will include 15
  for num in 1...15 #exclusive, three dots will count to 14

  my_array.each do |x|
     print x*2
  end

  my_array.each { |x| print x }

  frequencies.sort_by { |word, count| count }
  frequencies.each { |word, count| puts word + " " + count.to_s }
  frequencies.reverse!


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited November 1, 2016 12:07 pm by 133-94-98-198.dsl.wavetel.us (diff)
Search: