graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
E-->F;
E-->G;
F-->H;
G-->H;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Constant | |
NAMESPACE_SEPARATOR = "::".freeze | |
module_function | |
def defined?(name) | |
Object.const_defined?(name) | |
end | |
def ensure(name, value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
class Integer | |
def to_bin_s | |
bin = to_s(2) | |
bin.prepend('0') until (bin.length % 8).zero? | |
bin.scan(/.{4}/).join(' ') | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @see https://blog.dnsimple.com/2018/03/elapsed-time-with-ruby-the-right-way/ | |
def measure | |
started_at = Process.clock_gettime(Process::CLOCK_MONOTONIC) | |
result = yield | |
ended_at = Process.clock_gettime(Process::CLOCK_MONOTONIC) | |
p ActiveSupport::Duration.build(ended_at - started_at) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
class Integer | |
def to_aes | |
Aes::Polynomial.from(self) | |
end | |
def to_hex_s | |
hex = to_s(16).upcase |
This is a curated list of companies who hire for Ruby developers in Germany. It does not aim for completeness. For example, agencies will rarely make it to the list. I'm mainly keeping track of companies which will keep looking for Ruby devs for the foreseeable future.
Company | Location |
---|---|
1Komma5° | Hamburg |
8returns | Berlin |
Adigi | Regensburg |