Class: Babushka::BaseTemplate
Overview
A BaseTemplate is just a blank, passthrough template – all it does is return DepContext as the context against which standard (i.e. untemplated) deps are defined. This allows all deps to be defined in the same manner, whether they were defined against an explicit template or not.
Class Method Summary collapse
Class Method Details
.context_class ⇒ Object
9 |
# File 'lib/babushka/dep_template.rb', line 9 def self.context_class; DepContext end |
.contextual_name ⇒ Object
7 |
# File 'lib/babushka/dep_template.rb', line 7 def self.contextual_name; name end |
.suffixed? ⇒ Boolean
8 |
# File 'lib/babushka/dep_template.rb', line 8 def self.suffixed?; false end |