- debugger
- Docs
stock = StockQuote::Stock.quote("fb")
stock.inspect
a = nil
b = []
c = ""
a.blank? #=> true
b.blank? #=> true
c.blank? #=> true
d = "1"
e = ["1"]
d.blank? #=> false
e.blank? #=> false
- ugly
:locals => { :label => "About", :path => "about" }
- the same
locals: { label: "Home", path: "" }
include
: include method from module as instance methodextend
: include method from module as static methodrequire
: load libraries only onceload
: load lobraries, may load many times.