Sha256: 2116d30feb4f8f30e2fd4c6c5eb77323a3caa23025933f42e2f656943c5feaf4

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 Bytes

Contents

class AttributeHander < YARD::Handlers::Ruby::Legacy::Base
  handles /\Aattribute\b/
  namespace_only

  def process
    name = statement.tokens[2].text.gsub(':','')
    object = YARD::CodeObjects::MethodObject.new(namespace, name)
    register(object)
    object.dynamic = true
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scaffolder-0.5.0 yard/attribute_handler.rb
scaffolder-0.4.4 yard/attribute_handler.rb
scaffolder-0.4.3 yard/attribute_handler.rb
scaffolder-0.4.2 yard/attribute_handler.rb
scaffolder-0.4.1 yard/attribute_handler.rb
scaffolder-0.4.0 yard/attribute_handler.rb