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
class A | |
def foo | |
p("A::Foo") | |
end | |
alias foo1 foo | |
end | |
class B < A | |
def foo |
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 | |
module Extension | |
class T | |
class O | |
end | |
end | |
def self.foo(*args) | |
p("bar #{args}") |
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
# версия uglifier у меня 4.0.1 | |
# Кастомный трасформер, положи куда-нибудь, чтобы из production.rb можно было дёрнуть | |
class Transformer | |
def compress(string) | |
Uglifier.compile(string, harmony: true) | |
end | |
end | |
# Это в production.rb | |
config.assets.js_compressor = Transformer.new |
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
58029 silly gunzTarPerm extractEntry node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/readme.md | |
58030 silly gunzTarPerm extractEntry node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/package.json | |
58031 silly gunzTarPerm extractEntry node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore | |
58032 silly gunzTarPerm extractEntry node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md | |
58033 silly gunzTarPerm extractEntry node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/LICENSE | |
58034 silly gunzTarPerm extractEntry node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/index.js | |
58035 silly gunzTarPerm extractEntry node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/package.json | |
58036 silly gunzTarPerm ext |