Add Dependency#inspect
This commit is contained in:
parent
d596303199
commit
9a2a43b558
@ -59,6 +59,10 @@ class Dependency
|
|||||||
env_proc.call unless env_proc.nil?
|
env_proc.call unless env_proc.nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def inspect
|
||||||
|
"#<#{self.class}: #{name.inspect} #{tags.inspect}>"
|
||||||
|
end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# Expand the dependencies of dependent recursively, optionally yielding
|
# Expand the dependencies of dependent recursively, optionally yielding
|
||||||
# [dependent, dep] pairs to allow callers to apply arbitrary filters to
|
# [dependent, dep] pairs to allow callers to apply arbitrary filters to
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user