module UserWikiMacro

Redmine plugin to support a custom wiki macros

Constants

USER_SIZES
VERSION

Public Class Methods

determine_size(options) click to toggle source
# File lib/user_wiki_macro/macros.rb, line 38
def self.determine_size(options)
  if options[:size]
    USER_SIZES[options[:size]] || options[:size]
  else
    USER_SIZES["default"]
  end
end