Class: Yiban::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/yiban/text.rb

Instance Method Summary collapse

Methods inherited from Base

#json, #response

Constructor Details

#initialize(text) ⇒ Text

Returns a new instance of Text.



5
6
7
8
# File 'lib/yiban/text.rb', line 5

def initialize(text)
  @text = text
  @size = 50
end