We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A better solution is provided in this workaround for Shoes:
shoes/shoes-deprecated#163 (comment)
class Encoding %w[ASCII_8BIT US_ASCII UTF_16BE UTF_16LE UTF_32BE UTF_32LE].each do |ec| eval "#{ec} = '#{ec.sub '_', '-'}'" end unless RUBY_PLATFORM =~ /linux/ end
Though might as well use #const_set rather than #eval
#const_set
#eval
The text was updated successfully, but these errors were encountered:
bil-bas
No branches or pull requests
A better solution is provided in this workaround for Shoes:
shoes/shoes-deprecated#163 (comment)
Though might as well use
#const_set
rather than#eval
The text was updated successfully, but these errors were encountered: