Sha256: bac744a467461a97d1858a184865525d19fa7632cd7150e30a2d9e9a3a89f9d1

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

module YARD::MRuby::CodeObjects

  # A FunctionObject represents a MRuby C API function declaration inside a header inside an include directory
  class HeaderBaseObject < YARD::CodeObjects::Base

    def header
      self.namespace
    end

    # Header objects's shouln't be namespaced
    def path
      self.name.to_s
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yard-mruby-0.2.2 lib/yard/mruby/code_objects/header_base_object.rb
yard-mruby-0.2.1 lib/yard/mruby/code_objects/header_base_object.rb
yard-mruby-0.2.0 lib/yard/mruby/code_objects/header_base_object.rb