0
0
Fork 0

make a wrapper over the static transform

This commit is contained in:
Gibheer 2012-11-17 13:27:30 +01:00
parent 4e2a4b8931
commit 7fa20e6131
1 changed files with 6 additions and 0 deletions

View File

@ -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