Sha256: ab207089cc0dc1fccf38e524614d9c32ab32f7675eb6fd39696dc07ced6724e5

Contents?: true

Size: 210 Bytes

Versions: 14

Compression:

Stored size: 210 Bytes

Contents

module Lucid
  module AST
    module Names
      attr_reader :title, :description

      def name
        s = @title
        s += "\n#{@description}" if @description != ""
        s
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
lucid-0.5.1 lib/lucid/ast/names.rb
lucid-0.4.1 lib/lucid/ast/names.rb
lucid-0.4.0 lib/lucid/ast/names.rb
lucid-0.3.3 lib/lucid/ast/names.rb
lucid-0.3.0 lib/lucid/ast/names.rb
lucid-0.2.1 lib/lucid/ast/names.rb
lucid-0.2.0 lib/lucid/ast/names.rb
lucid-0.1.1 lib/lucid/ast/names.rb
lucid-0.1.0 lib/lucid/ast/names.rb
lucid-0.0.9 lib/lucid/ast/names.rb
lucid-0.0.8 lib/lucid/ast/names.rb
lucid-0.0.7 lib/lucid/ast/names.rb
lucid-0.0.6 lib/lucid/ast/names.rb
lucid-0.0.5 lib/lucid/ast/names.rb