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.
Constructor Details
#initialize(m, str, color = nil, &blk) ⇒ Link
Returns a new instance of Link.
34 35 36 37 |
# File 'lib/shoes/text.rb', line 34 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.
38 39 40 |
# File 'lib/shoes/text.rb', line 38 def blk @blk end |
#clickabled ⇒ Object
Returns the value of attribute clickabled.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def clickabled @clickabled end |
#ex ⇒ Object
Returns the value of attribute ex.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def ex @ex end |
#ey ⇒ Object
Returns the value of attribute ey.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def ey @ey end |
#lh ⇒ Object
Returns the value of attribute lh.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def lh @lh end |
#ln ⇒ Object
Returns the value of attribute ln.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def ln @ln end |
#parent ⇒ Object
Returns the value of attribute parent.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def parent @parent end |
#ph ⇒ Object
Returns the value of attribute ph.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def ph @ph end |
#pl ⇒ Object
Returns the value of attribute pl.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def pl @pl end |
#pt ⇒ Object
Returns the value of attribute pt.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def pt @pt end |
#pw ⇒ Object
Returns the value of attribute pw.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def pw @pw end |
#sx ⇒ Object
Returns the value of attribute sx.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def sx @sx end |
#sy ⇒ Object
Returns the value of attribute sy.
39 40 41 |
# File 'lib/shoes/text.rb', line 39 def sy @sy end |