add YARD comments to get to 100% YARD coverage

This commit is contained in:
josh committed 2019-08-17 16:42:14 -04:00
1 parent 937c964c3e
commit 9a627b2150
8 files changed
+12

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ module Rscons
module Builders
module Mixins
# Mixin for builders needing to build object files.
module Object
include Depfile
+2
View File
@@ -8,6 +8,8 @@ module Rscons
include Mixins::Program
class << self
# Custom new method which will delegate to the correct class depending
# on the options specified.
def new(options, *more)
unless File.basename(options[:target])["."]
options[:target] += options[:env].expand_varref("${PROGSUFFIX}", options[:vars])
+2
View File
@@ -8,6 +8,8 @@ module Rscons
include Mixins::Program
class << self
# Custom new method which will delegate to the correct class depending
# on the options specified.
def new(options, *more)
libprefix = options[:env].expand_varref("${SHLIBPREFIX}", options[:vars])
unless File.basename(options[:target]).start_with?(libprefix)
+2
View File
@@ -7,6 +7,8 @@ module Rscons
include Mixins::Object
class << self
# Content component to add to build path to separate objects built
# using this builder from others.
def extra_path
"_shared"
end