Пример #1
0
 public static Node ToYamlNode(RubyContext /*!*/ context, RubyArray /*!*/ self, [NotNull] RubyRepresenter /*!*/ rep)
 {
     return(rep.Sequence(
                rep.GetTagUri(self, Tags.Seq, typeof(RubyArray)),
                self,
                rep.GetYamlStyle(self) != ScalarQuotingStyle.None ? FlowStyle.Inline : FlowStyle.Block
                ));
 }
Пример #2
0
 public static Node ToYamlNode(RubyContext /*!*/ context, RubyArray /*!*/ self, [NotNull] RubyRepresenter /*!*/ rep)
 {
     return(rep.Sequence(self, self));
 }