class Flog
def dsl_name? args
def dsl_name? args return false unless args and not args.empty? first_arg, = args first_arg = first_arg[1] if first_arg.sexp_type == :hash type, value, * = first_arg value if [:lit, :str].include? type end
def dsl_name? args return false unless args and not args.empty? first_arg, = args first_arg = first_arg[1] if first_arg.sexp_type == :hash type, value, * = first_arg value if [:lit, :str].include? type end