lib/yard/handlers/c/struct_handler.rb in yard-0.9.5 vs lib/yard/handlers/c/struct_handler.rb in yard-0.9.6
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
class YARD::Handlers::C::StructHandler < YARD::Handlers::C::Base
MATCH = /([\w\.]+)\s*=\s*(?:rb_struct_define_without_accessor)\s*
\(\s*"([\w:]+)"\s*,\s*(\w+)\s*/mx
handles MATCH
statement_class BodyStatement