class Solargraph::Environ
Conventions are used to add Environs.
can be added to an ApiMap.
A collection of additional data, such as map pins and required paths, that
def clear
-
(self)
-
def clear domains.clear requires.clear pins.clear self end
def initialize requires: [], domains: [], pins: []
-
pins
(Array
) -- -
domains
(Array
) -- -
requires
(Array
) --
def initialize requires: [], domains: [], pins: [] @requires = requires @domains = domains @pins = pins end
def merge other
-
(self)
-
Parameters:
-
other
(Environ
) --
def merge other domains.concat other.domains requires.concat other.requires pins.concat other.pins self end