lib/danica/common.rb in danica-2.7.4 vs lib/danica/common.rb in danica-2.7.5
- old
+ new
@@ -1,7 +1,10 @@
+# frozen_string_literal: true
+
module Danica
- module Common extend ::ActiveSupport::Concern
+ module Common
+ extend ::ActiveSupport::Concern
included do
include Wrapper
include DSL
default_values :constant?, :signaled?, :container?, :variable?,
@@ -40,10 +43,10 @@
when :gnu
to_gnu(options)
when :f
to_f
else
- raise Exception::FormattedNotFound.new
+ raise Exception::FormattedNotFound
end
end
def tex(**options)
formatted(format: :tex, **options)