Sha256: bfbe31e8126b264d08340ffbe064240e65731c9ebd258f2cff9239247bfdeceb
Contents?: true
Size: 261 Bytes
Versions: 1
Compression:
Stored size: 261 Bytes
Contents
class Shoes class Text def initialize texts, color=nil @texts = texts @color = color @to_s = @texts.map(&:to_s).join end attr_reader :to_s, :texts, :color attr_accessor :parent def app @parent.app end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre1 | lib/shoes/text.rb |