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 24,808 public repositories matching this topic...
-
Updated
Jun 7, 2021 - Ruby

-
Updated
May 31, 2021
-
Updated
Jun 8, 2021 - Ruby
-
Updated
Jun 8, 2021 - Ruby
We have currently simple GitHub page, but we need to think about it's update with some better design.
-
Updated
Jun 8, 2021 - Ruby
-
Updated
May 27, 2021 - Ruby
-
Updated
Jun 8, 2021 - Ruby
Currently register
looks like:
private static <T> void register(Map<T, T> substitutions, T annotated, T original, T target) {
if (annotated != null) {
guarantee(!substitutions.containsKey(annotated) || substitutions.get(annotated) == original || substitutions.get(annotated) == target, "Already registered: %s", annotated);
substitutions.put(annotated,
-
Updated
Jun 7, 2021 - Ruby
-
Updated
May 26, 2021
Is your feature request related to a problem? Please describe.
I'm kicking the tires on changing our Gemfile
to gems.rb
. However, we have many internal gems within our monorepo and it just occurred to me that it would be cool to have a configurable cop that enforces one or the other.
Describe the solution you'd like
A cop that checks to make sure you have a Gemfile
or a `gems.
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
Context
On mobile devices, footer section text should be adjusted to the center, contrary to the desktop where it is adjusted to the left.
Please refer to the screenshot attached.
Expected Behavior
Store name should be adjusted to the center of the footer on mobile devices.
Actual Behavior
The store name is not adjusted to the center of the footer on mobile devices.
Steps
-
Updated
Jun 4, 2021 - Ruby
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
Jun 3, 2021 - Ruby
-
Updated
Jun 8, 2021 - Ruby
-
Updated
Dec 13, 2020 - Shell
Provide a detailed description of the proposed feature
On https://docs.brew.sh/Formula-Cookbook there is a terminology list. I suggest copying it on https://docs.brew.sh/Manpage or at least adding a link
What is the motivation for the feature?
I started by reading man. I could not find anything defining casks in it. I know I can install a formula and don't know what a formula is, what c