Basic unit type:
λ> replTy "()"
() :: ()Basic functions:
| module ActiveModel | |
| class Errors | |
| def error_types | |
| @_error_types ||= Hash.new { |hash, key| hash[key] = [] } | |
| end | |
| def add_with_save_names(attribute, message = nil, options = {}) | |
| message ||= :invalid | |
| message = message.call if message.is_a?(Proc) | |
| error_types[attribute] << message |
Basic unit type:
λ> replTy "()"
() :: ()Basic functions:
by 0xabad1dea, December 2014
This document is an RFC of sorts for increasing the adoption rate of Singular They in technical English. This is not an ultimatum; this is not shaming anyone who has done otherwise; and this is definitely not applicable to any other language.
| require_relative "test_helper" | |
| require "open-uri" | |
| require "net/http" | |
| class EmojiTest < Blog::Test | |
| def test_no_emoji | |
| posts.each do |post| | |
| content = File.read(post) | |
| refute_match /:[a-zA-Z0-9_]+:/, content, |