class Occi::Core::Actions

Private Instance Methods

convert(category) click to toggle source
Calls superclass method Occi::Core::Categories#convert
# File lib/occi/core/actions.rb, line 7
def convert(category)
  category = super category

  if category.kind_of? String
    scheme, term = category.split '#'
    scheme << '#'
    category = Occi::Core::Action.new(scheme, term)
  end

  category
end