Comments (7)
Are you sure? It is tested by me and rspec for many times. Please, write your complete class?
from turkish_support.
A simple class I tested right now. It works properly
require "turkish_support"
class Test
using TurkishSupport
def hey(str)
str.upcase
end
end
Test.new.hey('içel') #=> İÇEL
from turkish_support.
Sorry I am out of home. I will share with you a screenshot.
from turkish_support.
As I mentioned in the readme, TurkishSupport uses refinements. So, you need
to use using TurkishSupport
line. Look at this usage in terminal:
$ require 'turkish_support'
=> true
$ using TurkishSupport
=> main
$ "içel".upcase
=> "İÇEL"
On Fri, Apr 11, 2014 at 7:57 PM, Ender Ahmet Yurt
[email protected]:
I run specs and you're right içel looks like after .upcase method İÇEL no
problem. However, on the terminal, it looks
[image: screen shot 2014-04-11 at 19 54 58]https://cloud.githubusercontent.com/assets/447588/2682388/4a289ffc-c19a-11e3-9882-167beb0fbf20.png—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-40225603
.
from turkish_support.
from turkish_support.
Are you sure that your bash has no problem with encoding?
Using Ubuntu 13.10 AMD64, Ruby 2.0.0-p353 and Pry 0.9.12.4, got no problems here:
from turkish_support.
@marjinal1st thanks, it is same to me.
@enderahmetyurt I think this is special to your bash. if you find any reason about the problem, please open the issue again. Thanks.
from turkish_support.
Related Issues (11)
- # frozen_string_literal: true hatası HOT 2
- iterasyonlarda shorthand notasyonunda hatali sonuc (&:)
- Stack level too deep error for string_methods HOT 6
- String comparison methods
- Usage inside irb
- Ruby 2.2.2'de çalışmıyor. HOT 2
- Problem with opening parentheses HOT 1
- Array sort block ile kullanımı hatalı HOT 1
- comparison of Array with Array failed (ArgumentError) HOT 1
- <=> operator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turkish_support.