Esempio n. 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
                ));
 }
Esempio n. 2
0
 public static Node ToYamlNode(RubyContext /*!*/ context, RubyArray /*!*/ self, [NotNull] RubyRepresenter /*!*/ rep)
 {
     return(rep.Sequence(self, self));
 }