lib/webidl/parse_tree/operation.rb in webidl-0.1.6 vs lib/webidl/parse_tree/operation.rb in webidl-0.1.7
- old
+ new
@@ -19,12 +19,12 @@
Ast::Operation.new(
parent, typ, :name => name,
:specials => special_list,
:args => arguments,
:raises => raise_list,
- :static => respond_to?(:static)
+ :static => respond_to?(:static) && !static.empty?
)
end
end # Operation
end # ParseTree
-end # WebIDL
\ No newline at end of file
+end # WebIDL