- Nov 2019
-
github.com github.com
-
Example of someone else defining a file that simply requires another file because this is the one that
gem
(?) orbundler
(?) looks for when your gem is namedactiverecord-pg_enum
-
-
graphql-ruby.org graphql-ruby.org
Tags
Annotators
URL
-
-
rubykaigi.org rubykaigi.org
- Oct 2019
-
www.typescriptlang.org www.typescriptlang.org
-
In TypeScript, we can also set a value that a parameter will be assigned if the user does not provide one, or if the user passes undefined in its place.
-
buildName(undefined, "Adams")
-
If a default-initialized parameter comes before a required parameter, users need to explicitly pass undefined to get the default initialized value.
-
-
www.hanselman.com www.hanselman.com
-
CoffeeScript is to Ruby as TypeScript is to Java/C#/C++.
-
If you love Ruby, you'll enjoy CoffeeScript as it makes the JavaScript more like the Ruby.
-
- Sep 2019
-
github.com github.com
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Open3.capture2e
-
- Aug 2019
-
www.reddit.com www.reddit.com
-
Websites where to find out challenges
-
-
www.toptal.com www.toptal.com
-
Best programming practices for Ruby
-
- Feb 2019
- Jan 2016
-
daniel-azuma.com daniel-azuma.com
-
require 'active_record/connection_adapters/postgis_adapter/railtie'
The following worked better in my setup:
require 'active_record/connection_adapters/postgis/railtie'
Tags
Annotators
URL
-
-
www.ruby-lang.org www.ruby-lang.org
-
with another instance as its receiver
An instance can call private methods of another instance of the same class.
-
- Nov 2015
-
www.aozora.gr.jp www.aozora.gr.jp
-
まぶた)
Testing a highlight on Ruby text.
Highlight is meant to wrap this image:
Highlight is also meant to include the super-script hiragana characters: まぶた
Actual highlight includes the hiragana characters "まぶた" as well as ")"
-
- Jul 2015
-
www.venturesity.com www.venturesity.com
-
Up for a Challenge?
Do you have what it takes? Signup on www.venturesity.com and unlock opportunities.
-
- May 2015
-
www.eriktrautman.com www.eriktrautman.com
-
Just to focus on the differences between lambdas and Procs, a lambda acts more like a real method. What does that mean?
Apparently it means a lambda is less ($@(#$ insane.
-
When you create your own function to accept procs, the guts need to change a little bit because you'll need to use #call instead of yield inside (because which proc would yield run if you had more than one?).
Too much special!! Why the special cases? Just so that one can type
yield
instead of invoking a function and naming the argument? -
Use that block of code (now called a Proc) as an input to a function by prepending it with an apersand &
Oh, Ruby. This is entirely too confusing. Why is the ampersand required to signify that something is passed as a block, especially given that it has a type (
Proc
)? What does it mean if the ampersand isn't used?
-