Class: Shoes::Link
Instance Attribute Summary collapse
-
#blk ⇒ Object
readonly
Returns the value of attribute blk.
-
#clickabled ⇒ Object
Returns the value of attribute clickabled.
-
#ex ⇒ Object
Returns the value of attribute ex.
-
#ey ⇒ Object
Returns the value of attribute ey.
-
#lh ⇒ Object
Returns the value of attribute lh.
-
#ln ⇒ Object
Returns the value of attribute ln.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#ph ⇒ Object
Returns the value of attribute ph.
-
#pl ⇒ Object
Returns the value of attribute pl.
-
#pt ⇒ Object
Returns the value of attribute pt.
-
#pw ⇒ Object
Returns the value of attribute pw.
-
#sx ⇒ Object
Returns the value of attribute sx.
-
#sy ⇒ Object
Returns the value of attribute sy.
Attributes inherited from Text
Instance Method Summary collapse
- #clear ⇒ Object
-
#initialize(m, str, color = nil, &blk) ⇒ Link
constructor
A new instance of Link.
Methods inherited from Text
Constructor Details
#initialize(m, str, color = nil, &blk) ⇒ Link
Returns a new instance of Link.
43 44 45 46 |
# File 'lib/shoes/text.rb', line 43 def initialize m, str, color=nil, &blk @blk = blk super m, str, color end |
Instance Attribute Details
#blk ⇒ Object (readonly)
Returns the value of attribute blk.
47 48 49 |
# File 'lib/shoes/text.rb', line 47 def blk @blk end |
#clickabled ⇒ Object
Returns the value of attribute clickabled.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def clickabled @clickabled end |
#ex ⇒ Object
Returns the value of attribute ex.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def ex @ex end |
#ey ⇒ Object
Returns the value of attribute ey.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def ey @ey end |
#lh ⇒ Object
Returns the value of attribute lh.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def lh @lh end |
#ln ⇒ Object
Returns the value of attribute ln.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def ln @ln end |
#parent ⇒ Object
Returns the value of attribute parent.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def parent @parent end |
#ph ⇒ Object
Returns the value of attribute ph.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def ph @ph end |
#pl ⇒ Object
Returns the value of attribute pl.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def pl @pl end |
#pt ⇒ Object
Returns the value of attribute pt.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def pt @pt end |
#pw ⇒ Object
Returns the value of attribute pw.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def pw @pw end |
#sx ⇒ Object
Returns the value of attribute sx.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def sx @sx end |
#sy ⇒ Object
Returns the value of attribute sy.
48 49 50 |
# File 'lib/shoes/text.rb', line 48 def sy @sy end |