lib/healthicons/icon.rb in healthicons-0.0.3 vs lib/healthicons/icon.rb in healthicons-0.0.4
- old
+ new
@@ -17,10 +17,10 @@
# Instantize an icons attributes
#
# @param icon [String] The icon image name
# @param options [Hash](optional)
def initialize(icon, options = {})
- @variant = variant_check(options[:varient])
+ @variant = variant_check(options[:variant])
@name = icon.to_s
@options = options
end
# Return the SVG icons contents