Method: U3d::LinuxInstallation#module_name_pattern
- Defined in:
- lib/u3d/installation.rb
#module_name_pattern(module_name) ⇒ Object
323 324 325 326 327 328 329 330 331 332 333 334 335 |
# File 'lib/u3d/installation.rb', line 323 def module_name_pattern(module_name) # FIXME: we are not yet sure where these modules will end up yet case module_name when 'Documentation' return "#{root_path}/Editor/Data/Documentation/" when 'StandardAssets' return "#{root_path}/Editor/Standard Assets/" when 'MonoDevelop' return "#{root_path}/MonoDevelop/" else UI.crash! "No pattern is known for #{module_name} on Linux" end end |