class Buildr::Doc::Base

Base class for any documentation provider. Defines most common functionality (things like @into@, @from@ and friends).

Attributes

language[RW]
source_ext[RW]
project[R]

Public Class Methods

new(project) click to toggle source
# File lib/buildr/core/doc.rb, line 57
def initialize(project)
  @project = project
end
specify(options) click to toggle source
# File lib/buildr/core/doc.rb, line 45
def specify(options)
  @language = options[:language]
  @source_ext = options[:source_ext]
end
to_sym() click to toggle source
# File lib/buildr/core/doc.rb, line 50
def to_sym
  @symbol ||= name.split('::').last.downcase.to_sym
end