make a wrapper over the static transform
This commit is contained in:
parent
4e2a4b8931
commit
7fa20e6131
|
@ -74,6 +74,12 @@ module Zero
|
|||
raise FileNotFoundError.new("Template '#{template_path}' not found!")
|
||||
end
|
||||
|
||||
# @see transform
|
||||
# @api private
|
||||
def transform(string)
|
||||
self.class.transform(string)
|
||||
end
|
||||
|
||||
# transform a type into a simpler representation
|
||||
# @api private
|
||||
# @param string [String] the original type name
|
||||
|
|
Loading…
Reference in New Issue