Ruby

Ruby was developed by Yukihiro "Matz" Matsumoto in 1995 with the intent of having an easily readable programming language. It is used by the Rails framework to create dynamic web-applications. Ruby's syntax is similar to that of Perl and Python.
Here are 28,943 public repositories matching this topic...

-
Updated
Jul 4, 2022
-
Updated
Jul 3, 2022 - Ruby
-
Updated
Jul 9, 2022 - Ruby
-
Updated
Jul 9, 2022 - Ruby
-
Updated
Jul 9, 2022 - Ruby
-
Updated
Jul 6, 2022 - Ruby
-
Updated
Jul 7, 2022 - Ruby
The updated /admin/member_manager/users/<:id>
needs to be updated to use i18n. We can introduce locale files for this admin section and add the necessary translations for all the tabs and modals on this page.
-
Updated
Jul 9, 2022 - Ruby
Since state
is a reserved keyword in Truffle's guard mechanism, it should not be possible to use it in a guard definition as this can cause serious problems. The annotation processor should either reject the state
keyword in guard definitions or the state
temporary variable produced by the processor should be renamed to avoid this conflict.
Here's an example:
<img width="629" alt="screen
Steps to reproduce
Run asdf
. In help output a line is printed for the asdf env
command:
asdf env <command> [executable] Prints or runs an executable under a command environment
I would assume <command>
is an arbitrary command. But from what I can tell needs to be a plugin name or a shim name? I'm also not sure how this differs from executing the shim directly.
FY
-
Updated
Jul 2, 2022 - Shell
-
Updated
Jul 6, 2022 - Ruby
-
Updated
Jun 28, 2022
-
Updated
Jul 3, 2022 - Ruby
The example in the documentation for Style/GuardClause
is misleading because mentioned bad and good version don#t match execution.
It says
# bad
if something
foo || raise('exception')
else
ok
end
# good
foo || raise('exception') if something
ok
However both versions behave differently and bad can't be replaced by good.
Imagine something
being true
and `f
-
Updated
Jul 6, 2022 - Ruby
-
Updated
Jul 6, 2022 - Ruby
I am trying to write my own custom route matcher and using the example in the readme, I receive the following error:
AllButPattern can't be coerced into Mustermann::Pattern (TypeError)
Here is my example code:
require 'sinatra'
get '/index' do
'Hello world!'
end
class AllButPattern
Match = Struct.new(:captu
Historically, golang builds need to happen under the GOPATH, as more and more formula has moved to go-modules, we can deprecate the GOPATH usage.
-
Updated
Jul 3, 2022 - Ruby
-
Updated
Oct 16, 2021 - Shell
We have currently simple GitHub page, but we need to think about it's update with some better design.