Sha256: ffa425b008b257fe4e4fba260ee08f3b94bd8b6f4637f361ecbf5b0f49e552d1

Contents?: true

Size: 245 Bytes

Versions: 2

Compression:

Stored size: 245 Bytes

Contents

module Straightedge
  module Figures
    # technically a label isn't even a figure, just a mark with an associated string
    class Label < Mark
      attr_reader :text
      
      def says(text)
	@text = text
	self
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
straightedge-0.1.2 lib/straightedge/figures/label.rb
straightedge-0.1.1 lib/straightedge/figures/label.rb