class FFI::Clang::HTMLStartTagComment
Public Instance Methods
attrs()
click to toggle source
# File lib/ffi/clang/comment.rb, line 125 def attrs num_attrs.times.map { |i| { name: Lib.extract_string(Lib.html_start_tag_comment_get_attr_name(@comment, i)), value: Lib.extract_string(Lib.html_start_tag_comment_get_attr_value(@comment, i)), } } end
num_attrs()
click to toggle source
# File lib/ffi/clang/comment.rb, line 121 def num_attrs Lib.html_start_tag_comment_get_num_attrs(@comment) end
self_closing?()
click to toggle source
# File lib/ffi/clang/comment.rb, line 117 def self_closing? Lib.html_start_tag_comment_is_self_closing(@comment) != 0 end