| クラス[^2] | [:alnum:] |
[:alpha:] |
[:blank:] |
[:cntrl:] |
[:digit:] |
[:graph:] |
[:lower:] |
[:print:] |
[:punct:] |
[:space:] |
[:upper:] |
[:xdigit:] |
[:word:] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [00]-[08] [0e]-[1f] [DEL] | - | - | - | ✓ | - | - | - | - | - | - | - | - | - |
| [HT] | - | - | ✓ | ✓ | - | - | - | - | - | ✓ | - | - | - |
| [LF][VT][FF][CR] | - | - | - | ✓ | - | - | - | - | - | ✓ | - | - | - |
| [SPACE] | - | - | ✓ | - | - | - | - | ✓ | - | ✓ | - | - | - |
| 記号[^3] | - | - | - | - | - | ✓ | - | ✓ | ✓ | - | - | - | - |
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
| # lib/rubocop/cop/bundler/required_platforms.rb | |
| module RuboCop | |
| module Cop | |
| module Bundler | |
| class RequiredPlatforms < Cop | |
| def on_new_investigation | |
| required = Array(cop_config['RequiredPlatforms']) | |
| lockfile = File.read('Gemfile.lock') | |
| platforms = lockfile[/^PLATFORMS\n(.+?)\n\n/m, 1].to_s.lines.map(&:strip) | |
| (required - platforms).each do |missing| |
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
| ------ Italy ------- | |
| October 1582 | |
| Su Mo Tu We Th Fr Sa | |
| 1 2 3 4 15 16 | |
| 17 18 19 20 21 22 23 | |
| 24 25 26 27 28 29 30 | |
| 31 | |
| ------ France ------ |
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
| # まず素直に Data.define | |
| Style = Data.define(:foreground, :background, :bold, :italic, :underline, :inverse) | |
| class Style | |
| # クラス内に置く小細工モジュール | |
| module CtorFlags | |
| # クラスごとに上書き可能な“設定” | |
| def bool_flag_keys = %i[bold italic underline inverse] | |
| def kw_defaults = { foreground: nil, background: nil } | |
| .merge(bool_flag_keys.to_h { |k| [k, false] }) |
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
| 昼の部ライブパートセトリ | |
| 1. Reward Sweets (ぴょんころもち) | |
| 2. 昏き星、遠い月 (山崎・Machico) | |
| 3. ショコラブル*イブ (田所・夏川) | |
| 4. 成長Chu→LOVER!! (原・麻倉) | |
| 5. リフレインキス (原・Machico・夏川) | |
| 6. U・N・M・E・Iライブ (ぴょんころもち、最後にゲスト参戦) |
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
| require "bundler/inline" | |
| gemfile do | |
| source "https://rubygems.org" | |
| gem "locale" | |
| gem "rackup" | |
| end | |
| require "locale/middleware" | |
| require "rack/logger" |
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
| #!/usr/bin/env ruby | |
| installed = { | |
| mod_a: [ "1.0", "1.1", "1.2" ], | |
| mod_b: [ "1.2" ], | |
| } | |
| wanted_to_use = { |
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
| game.write_file("active-mods.md", "| Mod | Version |\n") | |
| game.write_file("active-mods.md", "|-|-:|\n", true) | |
| for name, version in pairs(script.active_mods) do | |
| game.write_file("active-mods.md", string.format("| %s | %s |\n", name, version), true) | |
| end | |
| end |
NewerOlder





