class Array
Public Class Methods
from_attributes(attributes)
click to toggle source
# File lib/cocoapods-freezer/specification.rb, line 2 def self.from_attributes(attributes) if attributes == nil return [] elsif attributes.is_a?(String) || attributes.is_a?(Pathname) return [attributes] elsif attributes.is_a?(Array) return attributes else raise end [] end