- FabToFontToolsPenAdapter
-
PointToSegmentPenExtracted toufoLib
-
SegmentToPointPenExtracted toufoLib
- TransformPointPen
-
GuessSmoothPointPenExtracted toufoLib
- [AngledMarginPen](https://github.com/robofab-developers/robofab/blob/135deae344d4d836192eac2a4157718083060b67/Lib/robofab/pens/angledMarginPen.p
This file contains hidden or 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
Object.class_eval do | |
def self.const_added(const_name) | |
super | |
if !const_name.to_s.upcase! | |
self.private_constant const_name | |
end | |
end | |
end | |
class Foo |
This file contains hidden or 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
Drink | |
* name:string | |
* has_many :steps | |
* has_many :ingredients | |
Ingredient | |
* has_one :measurement | |
* has_one :component | |
Component |
This file contains hidden or 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
namespace :rvm do | |
task :trust_ruby_env do | |
on roles(:web) do | |
within release_path do | |
execute "#{fetch(:rvm_path)}/bin/rvm", "rvmrc trust #{release_path}/.ruby-env" | |
end | |
end | |
end | |
end |
This file contains hidden or 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
label::after { | |
content: ""; | |
height: 8px; | |
width: 0; | |
border-top: 7px solid $color-white; | |
border-left: 6px solid transparent; | |
border-right: 6px solid transparent; | |
position: absolute; | |
right: 16px; | |
top: 14px; |
This file contains hidden or 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
$ cutest dig.rb | |
. | |
test: should get remaining segments from ReturnsSegmentsDigger | |
line: assert_equal ['two', 0], data.dig('one', 'two', 0) | |
file: dig.rb +53 | |
Cutest::AssertionFailed: ["two", 0] != [0] |
This file contains hidden or 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
class NewsItemsController < ApplicationController | |
include Dateable | |
has_scope :page, default: 1 | |
has_scope :year | |
def index | |
@year_range = NewsItem.year_range | |
@records = apply_scopes(default_scope) |
This file contains hidden or 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
.posts { | |
@include whitespacefix; | |
@include c6; | |
@include nogutters; | |
.post { | |
@include inlineblock; | |
@include c2; | |
@include regular; | |
} |
This file contains hidden or 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
@mixin inline-grid($object, $width, $gutter: 30px) { | |
font-size: 0; | |
.#{$object}s { | |
margin-right: -$gutter; | |
} | |
.#{$object} { | |
@include text; | |
display: inline-block; |
This file contains hidden or 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
@include archive(exhibition) { | |
@include and-card(regular-archive) { | |
@include full-width; | |
@include meta-margin-small; | |
@include float-grid(post, 33%); | |
@include green-background; | |
@extend %expandable-archive; | |
.posts { | |
@include animated-height; |
NewerOlder